UI: Sort Add Source menu case insensitively
This commit is contained in:
parent
478bbab159
commit
1578cca9b2
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue