QWidget::isVisible() just checks if the widget has been explicitly
hidden, not if it is minimized, covered, or whatnot.
Fixes #1240
void MainWin::bufferViewToggled(bool enabled)
{
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;
// 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;