GuiBox: assure combo boxes are empty before filling

This commit is contained in:
Juergen Spitzmueller 2015-05-18 13:09:07 +02:00
parent edfdd5139e
commit 47bee41ea3

View File

@ -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