chore: use get_now_selected_list

This commit is contained in:
arm64v8a
2023-09-06 19:46:44 +09:00
parent 29c618581e
commit f0263e114f
3 changed files with 11 additions and 24 deletions

View File

@@ -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;