Skip to content

Commit

Permalink
Merge pull request #1743 from daschuer/lp1780479
Browse files Browse the repository at this point in the history
Use an empty string for None EQ and Filter, this fixes lp1780479
  • Loading branch information
Pegasus-RPG authored Jul 16, 2018
2 parents 3ba7fa8 + fad34f1 commit bd410e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/preferences/dialog/dlgprefeq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ void DlgPrefEQ::slotPopulateDeckEffectSelectors() {
}
}
//: Displayed when no effect is selected
box->addItem(tr("None"), QVariant());
box->addItem(tr("None"), QVariant(QString("")));
if (selectedEffectId.isNull()) {
currentIndex = availableEQEffects.size(); // selects "None"
}
Expand Down Expand Up @@ -259,7 +259,7 @@ void DlgPrefEQ::slotPopulateDeckEffectSelectors() {
}
}
//: Displayed when no effect is selected
box->addItem(tr("None"), QVariant());
box->addItem(tr("None"), QVariant(QString("")));
if (selectedEffectId.isNull()) {
currentIndex = availableQuickEffects.size(); // selects "None"
}
Expand Down

0 comments on commit bd410e7

Please sign in to comment.