[Companion] ComboBox for audio / scripts list was not cleared before all
itemps inserted
This commit is contained in:
@@ -97,6 +97,7 @@ void populateGvSourceCB(QComboBox *b, int value)
|
|||||||
|
|
||||||
void populateFileComboBox(QComboBox * b, const QSet<QString> & set, const QString & current)
|
void populateFileComboBox(QComboBox * b, const QSet<QString> & set, const QString & current)
|
||||||
{
|
{
|
||||||
|
b->clear();
|
||||||
b->addItem("----");
|
b->addItem("----");
|
||||||
|
|
||||||
bool added = false;
|
bool added = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user