From 4cc031927d5f8b8be32285df7b486557ff005779 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Sat, 16 Dec 2017 19:03:30 +0100 Subject: Fix conditional bring-to-top: Only when dropdown is visible, not control --- src/widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit v1.2.3-55-g7522