From 47bee41ea3a6c530805e24d0af02458dbd035cde Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 18 May 2015 13:09:07 +0200 Subject: [PATCH] GuiBox: assure combo boxes are empty before filling --- src/frontends/qt4/GuiBox.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontends/qt4/GuiBox.cpp b/src/frontends/qt4/GuiBox.cpp index 0ae3c16dfb..123c286845 100644 --- a/src/frontends/qt4/GuiBox.cpp +++ b/src/frontends/qt4/GuiBox.cpp @@ -166,6 +166,7 @@ GuiBox::GuiBox(QWidget * parent) : InsetParamsWidget(parent) void GuiBox::fillComboColor(QComboBox * combo, bool const is_none) { + combo->clear(); QPixmap coloritem(32, 32); QColor color; // frameColorCO cannot be uncolored -- 2.39.2