refactor(server config dialog): starting tab should depend on if an external config file is being used
This commit is contained in:
parent
fe29194b64
commit
4e28bce379
1 changed files with 4 additions and 3 deletions
|
|
@ -42,8 +42,9 @@ ServerConfigDialog::ServerConfigDialog(QWidget *parent, ServerConfig &config)
|
|||
ui->lblNewScreen->setPixmap(QIcon::fromTheme("video-display").pixmap(QSize(64, 64)));
|
||||
ui->btnBrowseConfigFile->setIcon(QIcon::fromTheme(QIcon::ThemeIcon::DocumentOpen));
|
||||
|
||||
// force the first tab, since qt creator sets the active tab as the last one
|
||||
// the developer was looking at, and it's easy to accidentally save that.
|
||||
if (ui->groupExternalConfig->isChecked())
|
||||
ui->tabWidget->setCurrentIndex(3);
|
||||
else
|
||||
ui->tabWidget->setCurrentIndex(0);
|
||||
|
||||
if (!deskflow::platform::isWindows())
|
||||
|
|
|
|||
Loading…
Reference in a new issue