mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00:00
UI: Sort Add Source menu case insensitively
This commit is contained in:
parent
478bbab159
commit
1578cca9b2
|
@ -5980,7 +5980,8 @@ QMenu *OBSBasic::CreateAddSourcePopupMenu()
|
|||
QList<QAction *> actions = menu->actions();
|
||||
|
||||
for (QAction *menuAction : actions) {
|
||||
if (menuAction->text().compare(name) >= 0)
|
||||
if (menuAction->text().compare(
|
||||
name, Qt::CaseInsensitive) >= 0)
|
||||
return menuAction;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue