mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
GuiBox: assure combo boxes are empty before filling
This commit is contained in:
parent
edfdd5139e
commit
47bee41ea3
@ -166,6 +166,7 @@ GuiBox::GuiBox(QWidget * parent) : InsetParamsWidget(parent)
|
|||||||
|
|
||||||
void GuiBox::fillComboColor(QComboBox * combo, bool const is_none)
|
void GuiBox::fillComboColor(QComboBox * combo, bool const is_none)
|
||||||
{
|
{
|
||||||
|
combo->clear();
|
||||||
QPixmap coloritem(32, 32);
|
QPixmap coloritem(32, 32);
|
||||||
QColor color;
|
QColor color;
|
||||||
// frameColorCO cannot be uncolored
|
// frameColorCO cannot be uncolored
|
||||||
|
Loading…
Reference in New Issue
Block a user