summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-16 10:53:24 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-16 10:55:55 -0700
commit4ec27b17513cd0c6ff6eeb8e55d6f4bd8cb11b5b (patch)
tree0fbce6460af011a791f1fac4947bb1fe495e987f
parent45392615cdd926fe3220c616f2f91d1295ae5c44 (diff)
downloadsubsurface-4ec27b17513cd0c6ff6eeb8e55d6f4bd8cb11b5b.tar.gz
KMessageWidget: hide messages regardless whether it's visible
Even if the message isn't visible hide it, don't just return. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/kmessagewidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/kmessagewidget.cpp b/qt-ui/kmessagewidget.cpp
index 04fb6c2b0..2e506af2d 100644
--- a/qt-ui/kmessagewidget.cpp
+++ b/qt-ui/kmessagewidget.cpp
@@ -435,6 +435,7 @@ void KMessageWidget::animatedHide()
}
if (!isVisible()) {
+ hide();
return;
}