From bee6b0958ee9f9d24678dc8ca12f834b1031f62f Mon Sep 17 00:00:00 2001 From: Nova Date: Sun, 1 Sep 2024 02:40:01 +0330 Subject: [PATCH] fix: Fix stop profile not saving started_id --- ui/mainwindow_grpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/mainwindow_grpc.cpp b/ui/mainwindow_grpc.cpp index 6d9309a..38446ef 100644 --- a/ui/mainwindow_grpc.cpp +++ b/ui/mainwindow_grpc.cpp @@ -317,7 +317,7 @@ void MainWindow::neko_start(int _id) { runOnNewThread([=] { // stop current running if (NekoGui::dataStore->started_id >= 0) { - runOnUiThread([=] { neko_stop(false, true); }); + runOnUiThread([=] { neko_stop(false, true, true); }); sem_stopped.acquire(); } // do start