mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-27 00:40:21 +00:00
Fix bug setting current launcher profile on startup (Bug #2188)
This commit is contained in:
parent
9ef6e95bf6
commit
ed66bbb28d
@ -238,9 +238,7 @@ void Launcher::DataFilesPage::addProfile (const QString &profile, bool setAsCurr
|
||||
if (profile.isEmpty())
|
||||
return;
|
||||
|
||||
if (ui.profilesComboBox->findText (profile) != -1)
|
||||
return;
|
||||
|
||||
if (ui.profilesComboBox->findText (profile) == -1)
|
||||
ui.profilesComboBox->addItem (profile);
|
||||
|
||||
if (setAsCurrent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user