convenience improvement: automatically add last detected app to applist when you create a new app
This commit is contained in:
parent
4e57f272a1
commit
6807fe00fa
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue