Skip to content

Commit

Permalink
設定情報のセクション追加を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
hrk-fujii committed Feb 23, 2024
1 parent 3789bbb commit c8ec230
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion addon/globalPlugins/USB-D/configUtil.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ def setEnableTurnOverSetting(val):
config.conf[CONFIG_GLOBAL_KEY]["enableTurnOver"] = val

def initializeSettings():
config.conf[CONFIG_GLOBAL_KEY] = {}
confspec = {
"checkForUpdatesOnStartup": "boolean(default=True)",
"enableTurnOver": "boolean(default=True)",
}
config.conf.spec[CONFIG_GLOBAL_KEY] = confspec

0 comments on commit c8ec230

Please sign in to comment.