fix(cpn): Only timers with active modes should be included in lists (#3956)
* disable timers with mode OFF * fix isModeOff to reference mode not switch * update model edit source lists when timer mode changed * add timer mode test to reset function * add timer mode test for Set and Reset functions * change yaml special source TIMERx to Tmrx
This commit is contained in:
@@ -57,6 +57,7 @@ class TimerPanel : public ModelPanel
|
||||
|
||||
signals:
|
||||
void nameChanged();
|
||||
void modeChanged();
|
||||
|
||||
private:
|
||||
TimerData & timer;
|
||||
@@ -209,7 +210,7 @@ class SetupPanel : public ModelPanel
|
||||
void cmTimerPaste();
|
||||
void cmTimerMoveDown();
|
||||
void cmTimerMoveUp();
|
||||
void onTimerNameChanged();
|
||||
void onTimerChanged();
|
||||
void onItemModelAboutToBeUpdated();
|
||||
void onItemModelUpdateComplete();
|
||||
void onModuleUpdateItemModels();
|
||||
|
||||
Reference in New Issue
Block a user