diff options
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r-- | src/gui/widgets/window.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index e36aea97..8d7b442b 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -314,6 +314,9 @@ void Window::setVisible(bool visible) void Window::setVisible(bool visible, bool forceSticky) { + if (visible == isVisible()) + return; // Nothing to do + // Check if the window is off screen... if (visible) checkIfIsOffScreen(); |