Fix split focusing being broken in certain circumstances when the "Show input when it's empty" setting was disabled (#3838)
Co-authored-by: Kasia <zneix@zneix.eu>
This commit is contained in:
@@ -784,7 +784,7 @@ void SplitNotebook::showEvent(QShowEvent *)
|
||||
{
|
||||
if (auto split = page->findChild<Split *>())
|
||||
{
|
||||
split->giveFocus(Qt::OtherFocusReason);
|
||||
split->setFocus(Qt::FocusReason::OtherFocusReason);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user