mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
[Companion] ComboBox for audio / scripts list was not cleared before all
itemps inserted
This commit is contained in:
parent
90ebaf2d88
commit
654dac1acc
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue