mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 12:34:37 +03:00
feat: import as new group
This commit is contained in:
@@ -565,10 +565,13 @@ void MainWindow::dialog_message_impl(const QString &sender, const QString &info)
|
||||
this->refresh_groups();
|
||||
}
|
||||
} else if (sender == "SubUpdater") {
|
||||
// 订阅完毕
|
||||
refresh_proxy_list();
|
||||
if (!info.contains("dingyue")) {
|
||||
show_log_impl(tr("Imported %1 profile(s)").arg(NekoRay::dataStore->imported_count));
|
||||
if (info.startsWith("finish")) {
|
||||
refresh_proxy_list();
|
||||
if (!info.contains("dingyue")) {
|
||||
show_log_impl(tr("Imported %1 profile(s)").arg(NekoRay::dataStore->imported_count));
|
||||
}
|
||||
} else if (info == "NewGroup") {
|
||||
refresh_groups();
|
||||
}
|
||||
} else if (sender == "ExternalProcess") {
|
||||
if (info == "Crashed") {
|
||||
|
||||
Reference in New Issue
Block a user