fix: Split input sometimes not accepting focus (#4958)

This commit is contained in:
pajlada
2023-11-11 11:58:20 +01:00
committed by GitHub
parent 244efaa0a9
commit 95620e6e10
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -691,6 +691,8 @@ void SplitInput::installKeyPressedEvent()
void SplitInput::mousePressEvent(QMouseEvent *event)
{
this->giveFocus(Qt::MouseFocusReason);
if (this->hidden)
{
BaseWidget::mousePressEvent(event);