convenience improvement: automatically add last detected app to applist when you create a new app

This commit is contained in:
EinTim23 2025-05-10 21:58:27 +02:00
parent 4e57f272a1
commit 6807fe00fa
1 changed files with 5 additions and 0 deletions

View File

@ -270,6 +270,11 @@ public:
listBox->Append(process); listBox->Append(process);
} }
if (app->processNames.size() == 0 && lastMediaSource != "") {
listBox->Append(lastMediaSource);
app->processNames.push_back(lastMediaSource);
}
processBox->Add(listBox, 1, wxALL | wxEXPAND, 5); processBox->Add(listBox, 1, wxALL | wxEXPAND, 5);
// Add input + buttons // Add input + buttons