X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.cpp;h=9019e24c60a53392e96472923dfde90df7cde87f;hp=5460a345b808f6e0f0523cacca3f7495a217292b;hb=fd97519376748925efe765d138ad5af637d809bd;hpb=a43f68a84621d11b61f0e712890a5feb76939553 diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 5460a345..9019e24c 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -657,7 +657,7 @@ void MainWin::removeBufferView(int bufferViewConfigId) void MainWin::bufferViewToggled(bool enabled) { - if (!enabled && !isVisible()) { + if (!enabled && !isMinimized()) { // hiding the mainwindow triggers a toggle of the bufferview (which pretty much sucks big time) // since this isn't our fault and we can't do anything about it, we suppress the resulting calls return;