mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 12:34:37 +03:00
chore: use get_now_selected_list
This commit is contained in:
@@ -283,7 +283,7 @@ void MainWindow::stop_core_daemon() {
|
||||
void MainWindow::neko_start(int _id) {
|
||||
if (NekoGui::dataStore->prepare_exit) return;
|
||||
|
||||
auto ents = get_now_selected();
|
||||
auto ents = get_now_selected_list();
|
||||
auto ent = (_id < 0 && !ents.isEmpty()) ? ents.first() : NekoGui::profileManager->GetProfile(_id);
|
||||
if (ent == nullptr) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user