mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-27 19:56:07 -05:00
Add sorting of window lists for UI
This commit is contained in:
@@ -130,6 +130,7 @@ SceneSwitcher::SceneSwitcher(QWidget *parent)
|
||||
|
||||
vector<string> windows;
|
||||
GetWindowList(windows);
|
||||
sort(windows.begin(), windows.end());
|
||||
|
||||
for (string &window : windows) {
|
||||
ui->windows->addItem(window.c_str());
|
||||
|
||||
Reference in New Issue
Block a user