Fix inner QTextEdit focus in case InputField is focused.
This commit is contained in:
parent
ebe8e91b4d
commit
72a1c98fa6
1 changed files with 1 additions and 1 deletions
|
|
@ -1878,7 +1878,7 @@ void InputField::focusInEvent(QFocusEvent *e) {
|
|||
? mapFromGlobal(QCursor::pos()).x()
|
||||
: (width() / 2);
|
||||
InvokeQueued(this, [=] {
|
||||
if (hasFocus()) {
|
||||
if (QWidget::hasFocus()) {
|
||||
focusInner();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue