mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
fix connection_statistics & settings ui
This commit is contained in:
@@ -454,11 +454,14 @@ void MainWindow::dialog_message_impl(const QString &sender, const QString &info)
|
||||
}
|
||||
refresh_status();
|
||||
}
|
||||
//
|
||||
if (info == "RestartProgram") {
|
||||
this->exit_reason = 2;
|
||||
on_menu_exit_triggered();
|
||||
} else if (info == "Raise") {
|
||||
ACTIVE_THIS_WINDOW
|
||||
} else if (info == "ClearConnectionList") {
|
||||
refresh_connection_list({});
|
||||
}
|
||||
// sender
|
||||
if (sender == Dialog_DialogEditProfile) {
|
||||
@@ -1422,6 +1425,8 @@ void MainWindow::refresh_connection_list(const QJsonArray &arr) {
|
||||
}
|
||||
last_arr = arr;
|
||||
|
||||
if (NekoRay::dataStore->flag_debug) qDebug() << arr;
|
||||
|
||||
ui->tableWidget_conn->setRowCount(0);
|
||||
|
||||
int row = -1;
|
||||
|
||||
Reference in New Issue
Block a user