refactor: ensure tabwidget start at index 0
This commit is contained in:
parent
8f5ef1efbf
commit
b8e72c6313
2 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ ServerConfigDialog::ServerConfigDialog(QWidget *parent, ServerConfig &config)
|
|||
m_screenSetupModel(m_serverConfig.screens(), m_columns, m_rows)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->tabWidget->setCurrentIndex(0);
|
||||
|
||||
loadFromConfig();
|
||||
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ SettingsDialog::SettingsDialog(QWidget *parent, const ServerConfig &serverConfig
|
|||
{
|
||||
|
||||
ui->setupUi(this);
|
||||
ui->tabWidget->setCurrentIndex(0);
|
||||
|
||||
// these are enabled by the control next to them
|
||||
ui->lineCommandEnter->setEnabled(false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue