Fix mistake during integration of Splash Damage 2.0

Lua plugin settings would always load the default values instead
This commit is contained in:
Raffson 2023-03-11 21:25:51 +01:00
parent 218e783bb1
commit eed514a432
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -55,7 +55,7 @@ class PluginOptionsBox(QGroupBox):
for row, option in enumerate(plugin.options):
layout.addWidget(QLabel(option.name), row, 0)
val = option.value
val = option.get_value
if type(val) == bool:
checkbox = QCheckBox()
checkbox.setChecked(val)