summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/controller.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/controller.cpp b/src/controller.cpp
index 44fe393..0a502da 100644
--- a/src/controller.cpp
+++ b/src/controller.cpp
@@ -199,6 +199,14 @@ void Controller::handleMetaWatchModeChange(MetaWatch::WatchMode mode, int page)
}
break;
+ case MetaWatch::WatchModeNotification:
+ if (_curMode != mode) {
+ _curMode = mode;
+ emit modeChanged();
+ }
+ // Watch will often go back to the same page once it returns to idle mode,
+ // so let's not clobber _curPage.
+ break;
default:
qWarning() << "Unhandled metawatch mode:" << mode;
break;