Make radio profile choice synchronous in Companion startup (#7822)

* Update mainwindow.cpp

Choose profile synchronously, before update check and file load.

* Prevent profile choice dialog from being resized
This commit is contained in:
Ben Lye
2020-07-31 16:24:57 +02:00
committed by GitHub
parent 6264e8524e
commit 06d3110d7c
2 changed files with 10 additions and 12 deletions
+1
View File
@@ -28,6 +28,7 @@ ProfileChooserDialog::ProfileChooserDialog(QWidget * parent):
{
ui->setupUi(this);
setWindowIcon(QIcon(":/icon.png"));
setWindowFlags(Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint);
QComboBox *prof = ui->cboProfiles;
prof->clear();