mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-10-04 02:21:11 -04:00
Launcher: fix changing active profile through the Play page
This commit is contained in:
parent
cda0363f29
commit
8ed376af5e
@ -206,6 +206,10 @@ void Launcher::DataFilesPage::slotProfileRenamed(const QString &previous, const
|
|||||||
|
|
||||||
void Launcher::DataFilesPage::slotProfileChanged(int index)
|
void Launcher::DataFilesPage::slotProfileChanged(int index)
|
||||||
{
|
{
|
||||||
|
// in case the event was triggered externally
|
||||||
|
if (ui.profilesComboBox->currentIndex() != index)
|
||||||
|
ui.profilesComboBox->setCurrentIndex(index);
|
||||||
|
|
||||||
setProfile (index, true);
|
setProfile (index, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user