mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-16 12:37:15 -04:00
UI: Set focus back to label after source rename
Fixes obsproject/obs-studio#3465
This commit is contained in:
@@ -354,6 +354,7 @@ void SourceTreeItem::ExitEditMode(bool save)
|
||||
editor = nullptr;
|
||||
setFocusPolicy(Qt::NoFocus);
|
||||
boxLayout->insertWidget(index, label);
|
||||
label->setFocus();
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* check for empty string */
|
||||
|
||||
Reference in New Issue
Block a user