From d0d872ffeff89facdd35ce358bd4d9b73cf8332c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 2 Aug 2016 03:15:18 +0300 Subject: Add all known windows into windows unit tests. --- src/gui/windows/ministatuswindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/windows/ministatuswindow.cpp') diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index c9c6248e6..0f3ea0a4d 100644 --- a/src/gui/windows/ministatuswindow.cpp +++ b/src/gui/windows/ministatuswindow.cpp @@ -301,7 +301,8 @@ void MiniStatusWindow::attributeChanged(const AttributesT id, void MiniStatusWindow::updateStatus() { - statusWindow->updateStatusBar(mStatusBar); + if (statusWindow) + statusWindow->updateStatusBar(mStatusBar); if (mStatusPopup && mStatusPopup->isPopupVisible()) mStatusPopup->update(); } -- cgit v1.2.3-70-g09d2