Skip to content

Commit b022022

Browse files
committed
editing event for settings - start and stop
1 parent 71f3ddd commit b022022

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/Flux/flxSettingsSerial.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,7 @@ bool flxSettingsSerial::loop(void)
983983
{
984984
_bIsDirty=false;
985985

986+
on_editing.emit(1);
986987
drawEntryBanner();
987988

988989
bool doSave = drawPage(_systemRoot);
@@ -1000,7 +1001,8 @@ bool flxSettingsSerial::loop(void)
10001001
flxLog_I(F("Saving System Settings."));
10011002
on_finished.emit();
10021003
}
1003-
1004+
on_editing.emit(0);
1005+
10041006
return true;
10051007
}
10061008

src/Flux/flxSettingsSerial.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class flxSettingsSerial : public flxActionType<flxSettingsSerial>
6363

6464
// Our output event
6565
flxSignalVoid on_finished;
66+
flxSignalBool on_editing;
6667

6768
bool loop();
6869

0 commit comments

Comments
 (0)