Skip to content

Commit 400f09b

Browse files
committed
Improve back-button check #256
1 parent 69589b1 commit 400f09b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/lcd/extui/dgus_creality/creality_touch/PageHandlers.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void LevelingModeHandler(DGUS_VP_Variable &var, unsigned short buttonValue) {
141141
void LevelingHandler(DGUS_VP_Variable &var, unsigned short buttonValue) {
142142
switch (var.VP) {
143143
case VP_BUTTON_BEDLEVELKEY:
144-
if (!ExtUI::getLevelingIsInProgress()) {
144+
if (!ScreenHandler.HasSynchronousOperation) {
145145
ScreenHandler.PopToOldScreen();
146146
} else {
147147
ScreenHandler.setstatusmessagePGM("Wait for leveling completion...");

0 commit comments

Comments
 (0)