From: Juergen Spitzmueller Date: Mon, 18 May 2015 11:09:07 +0000 (+0200) Subject: GuiBox: assure combo boxes are empty before filling X-Git-Tag: 2.2.0alpha1~769 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=47bee41ea3a6c530805e24d0af02458dbd035cde;p=features.git GuiBox: assure combo boxes are empty before filling --- 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