Skip to content

Commit 6807fe0

Browse files
committed
convenience improvement: automatically add last detected app to applist when you create a new app
1 parent 4e57f27 commit 6807fe0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/main.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,11 @@ class EditAppDialog : public wxDialog {
270270
listBox->Append(process);
271271
}
272272

273+
if (app->processNames.size() == 0 && lastMediaSource != "") {
274+
listBox->Append(lastMediaSource);
275+
app->processNames.push_back(lastMediaSource);
276+
}
277+
273278
processBox->Add(listBox, 1, wxALL | wxEXPAND, 5);
274279

275280
// Add input + buttons

0 commit comments

Comments
 (0)