Standardisation of auto widgets

This commit is contained in:
elecpower
2021-03-17 09:53:32 +11:00
parent e801f490b3
commit 60ac1550f4
5 changed files with 53 additions and 37 deletions
+5 -5
View File
@@ -51,11 +51,11 @@ class AutoCheckBox: public QCheckBox
void updateValue()
{
if (!field)
return;
lock = true;
setChecked(*field);
lock = false;
if (field) {
lock = true;
setChecked(*field);
lock = false;
}
}
signals: