Open the last selected tab on restart
This commit is contained in:
@@ -30,14 +30,8 @@ public:
|
||||
void select(SplitContainer *page);
|
||||
void selectIndex(int index);
|
||||
|
||||
SplitContainer *getOrAddSelectedPage()
|
||||
{
|
||||
if (selectedPage == nullptr) {
|
||||
this->addNewPage(true);
|
||||
}
|
||||
|
||||
return selectedPage;
|
||||
}
|
||||
SplitContainer *getOrAddSelectedPage();
|
||||
SplitContainer *getSelectedPage();
|
||||
|
||||
void performLayout(bool animate = true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user