UI: Set focus back to label after source rename
Fixes obsproject/obs-studio#3465
This commit is contained in:
parent
3486c0b363
commit
f56ab9a38b
@ -354,6 +354,7 @@ void SourceTreeItem::ExitEditMode(bool save)
|
|||||||
editor = nullptr;
|
editor = nullptr;
|
||||||
setFocusPolicy(Qt::NoFocus);
|
setFocusPolicy(Qt::NoFocus);
|
||||||
boxLayout->insertWidget(index, label);
|
boxLayout->insertWidget(index, label);
|
||||||
|
label->setFocus();
|
||||||
|
|
||||||
/* ----------------------------------------- */
|
/* ----------------------------------------- */
|
||||||
/* check for empty string */
|
/* check for empty string */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user