mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-24 10:33:18 +08:00
Merge 67032f3463 into 4f45617666
This commit is contained in:
commit
dd819a14c4
@ -284,6 +284,10 @@ void MainWindow::neko_start(int _id) {
|
||||
if (NekoGui::dataStore->prepare_exit) return;
|
||||
|
||||
auto ents = get_now_selected_list();
|
||||
|
||||
if (IS_NEKO_BOX_INTERNAL_TUN)
|
||||
StopVPNProcess();
|
||||
|
||||
auto ent = (_id < 0 && !ents.isEmpty()) ? ents.first() : NekoGui::profileManager->GetProfile(_id);
|
||||
if (ent == nullptr) return;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user