Workaround for LS ui data model updates

This commit is contained in:
elecpower
2020-09-24 06:24:12 +10:00
parent 0922e56f0b
commit 8eceebd779
3 changed files with 31 additions and 21 deletions
+2 -3
View File
@@ -65,9 +65,6 @@ class LogicalSwitchesPanel : public ModelPanel
void onModelDataAboutToBeUpdated();
void onModelDataUpdateComplete();
signals:
void updateDataModels();
private:
QComboBox * cbFunction[CPN_MAX_LOGICAL_SWITCHES];
QDoubleSpinBox * dsbValue[CPN_MAX_LOGICAL_SWITCHES];
@@ -92,6 +89,8 @@ class LogicalSwitchesPanel : public ModelPanel
bool moveDownAllowed() const;
bool moveUpAllowed() const;
int modelsUpdateCnt;
void updateCBLists();
void updateDataModels();
};
#endif // _LOGICALSWITCHES_H_