mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Fixed broken server port switch in launcher
This commit is contained in:
parent
fca53e4dbc
commit
83a651f7c8
@ -94,7 +94,7 @@ void CSettingsView::loadSettings()
|
|||||||
ui->comboBoxEnemyPlayerAI->setCurrentText(QString::fromStdString(settings["server"]["playerAI"].String()));
|
ui->comboBoxEnemyPlayerAI->setCurrentText(QString::fromStdString(settings["server"]["playerAI"].String()));
|
||||||
ui->comboBoxAlliedPlayerAI->setCurrentText(QString::fromStdString(settings["server"]["alliedAI"].String()));
|
ui->comboBoxAlliedPlayerAI->setCurrentText(QString::fromStdString(settings["server"]["alliedAI"].String()));
|
||||||
|
|
||||||
ui->spinBoxNetworkPort->setValue(settings["server"]["port"].Integer());
|
ui->spinBoxNetworkPort->setValue(settings["server"]["localPort"].Integer());
|
||||||
|
|
||||||
ui->comboBoxAutoCheck->setCurrentIndex(settings["launcher"]["autoCheckRepositories"].Bool());
|
ui->comboBoxAutoCheck->setCurrentIndex(settings["launcher"]["autoCheckRepositories"].Bool());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user