From 268c42ab03b4657f70743388b89dec22a01f39db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Wed, 15 May 2019 20:33:03 +0200 Subject: [PATCH] Always limit the number of shown items in the combo box. --- src/GUI/limitedcombobox.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GUI/limitedcombobox.h b/src/GUI/limitedcombobox.h index d839211c..7d097312 100644 --- a/src/GUI/limitedcombobox.h +++ b/src/GUI/limitedcombobox.h @@ -11,6 +11,7 @@ public: : QComboBox(parent), _limit(limit) { setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed); + setStyleSheet("combobox-popup: 0;"); } QSize sizeHint() const