summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index c7e2b31df..061b07adc 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -43,6 +43,8 @@
#include "gui/windows/ministatuswindow.h"
+#include "listeners/updatestatuslistener.h"
+
#include "utils/delete2.h"
#include "debug.h"
@@ -997,8 +999,7 @@ void Viewport::toggleCameraMode()
mCameraRelativeX = 0;
mCameraRelativeY = 0;
}
- if (miniStatusWindow)
- miniStatusWindow->updateStatus();
+ UpdateStatusListener::distributeEvent();
}
void Viewport::hideBeingPopup()