From 65cdc7b78fa8bc67452b9da1fea900f9a7bd964e Mon Sep 17 00:00:00 2001 From: uvos Date: Sat, 17 Jul 2021 22:42:06 +0200 Subject: [PATCH] Try not to change the current profile on profiles reload --- src/ui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index 28f6a35..d764ddb 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -167,6 +167,7 @@ void MainWindow::refreshProfiles() QList profiles = Profile::avaiableProfiles(); for(const QString& string : profiles) ui->comboBox->addItem(string); + setProfile(tmp); } void MainWindow::profileInconpatible(QString message)