This commit is contained in:
fourtf
2020-09-26 01:52:39 +02:00
parent 828fb2c3f5
commit 8123a47898
2 changed files with 14 additions and 0 deletions
+11
View File
@@ -627,6 +627,17 @@ SplitNotebook::SplitNotebook(Window *parent)
}
}
void SplitNotebook::showEvent(QShowEvent *)
{
if (auto page = this->getSelectedPage())
{
if (auto split = page->findChild<Split *>())
{
split->giveFocus(Qt::OtherFocusReason);
}
}
}
void SplitNotebook::addCustomButtons()
{
// settings