summaryrefslogtreecommitdiff
path: root/libsowatch/watchserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch/watchserver.cpp')
-rw-r--r--libsowatch/watchserver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsowatch/watchserver.cpp b/libsowatch/watchserver.cpp
index da93730..373d367 100644
--- a/libsowatch/watchserver.cpp
+++ b/libsowatch/watchserver.cpp
@@ -32,6 +32,7 @@ WatchServer::WatchServer(Watch* watch, QObject* parent) :
_watchlets->setWatchModel(_watch->model());
_watch->setWatchletsModel(_watchlets);
+ _watch->setNotificationsModel(_notifications);
}
Watch* WatchServer::watch()
@@ -242,7 +243,7 @@ void WatchServer::closeWatchlet()
deactivateActiveWatchlet();
}
_currentWatchlet = 0;
- if (_watch->isConnected() && _pendingNotifications.empty()) {
+ if (_watch->isConnected()) {
goToIdle();
}
}