mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
Fix bug setting current launcher profile on startup (Bug #2188)
This commit is contained in:
parent
e0c6f84546
commit
33019b93b4
@ -238,9 +238,7 @@ void Launcher::DataFilesPage::addProfile (const QString &profile, bool setAsCurr
|
|||||||
if (profile.isEmpty())
|
if (profile.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (ui.profilesComboBox->findText (profile) != -1)
|
if (ui.profilesComboBox->findText (profile) == -1)
|
||||||
return;
|
|
||||||
|
|
||||||
ui.profilesComboBox->addItem (profile);
|
ui.profilesComboBox->addItem (profile);
|
||||||
|
|
||||||
if (setAsCurrent)
|
if (setAsCurrent)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user