summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2017-12-16 19:03:30 +0100
committerSimon Rettberg2017-12-16 19:03:30 +0100
commit4cc031927d5f8b8be32285df7b486557ff005779 (patch)
treeaf90802ad9dd1257811ad28f38173cf850b5ebd7
parentAdd --test mode (diff)
downloadbeamergui-master.tar.gz
beamergui-master.tar.xz
beamergui-master.zip
Fix conditional bring-to-top: Only when dropdown is visible, not controlHEADmaster
-rw-r--r--src/widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.cpp b/src/widget.cpp
index 05a8dcb..bef88db 100644
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -250,7 +250,7 @@ Widget::Widget(bool testMode, QWidget *parent) :
void Widget::bringToTopTimer()
{
- if (_ui->comboBox->isVisible()) return;
+ if (_ui->comboBox->view()->isVisible()) return;
raise();
}