fix:商店点击刷新线路之后未默认选中首位

This commit is contained in:
柚子 2022-12-18 13:46:55 +08:00
parent 2c1679d0af
commit adf9032897

@ -96,9 +96,8 @@ void SettingsPage::on_pushButton_updateServer_clicked()
system("curl -o " + QDir::homePath().toUtf8() + "/.config/spark-store/server.list https://d.store.deepinos.org.cn/store/server-and-mirror.list");
ui->pushButton_updateServer->setEnabled(true);
readServerList();
ui->comboBox_server->setCurrentIndex(0);
initConfig();
});
}