mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix mistake during integration of Splash Damage 2.0
Lua plugin settings would always load the default values instead
This commit is contained in:
parent
218e783bb1
commit
eed514a432
@ -55,7 +55,7 @@ class PluginOptionsBox(QGroupBox):
|
|||||||
for row, option in enumerate(plugin.options):
|
for row, option in enumerate(plugin.options):
|
||||||
layout.addWidget(QLabel(option.name), row, 0)
|
layout.addWidget(QLabel(option.name), row, 0)
|
||||||
|
|
||||||
val = option.value
|
val = option.get_value
|
||||||
if type(val) == bool:
|
if type(val) == bool:
|
||||||
checkbox = QCheckBox()
|
checkbox = QCheckBox()
|
||||||
checkbox.setChecked(val)
|
checkbox.setChecked(val)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user