Add CTRL+SHIFT+T and CTRL+SHIFT+W to Open and Close tabs

Fixes #21
This commit is contained in:
Rasmus Karlsson
2018-01-06 20:58:56 +01:00
parent 29046b3aa1
commit 26170e4fdb
4 changed files with 34 additions and 10 deletions
+9
View File
@@ -95,6 +95,15 @@ void Notebook::removePage(SplitContainer *page)
this->performLayout();
}
void Notebook::removeCurrentPage()
{
if (this->selectedPage == nullptr) {
return;
}
this->removePage(this->selectedPage);
}
void Notebook::select(SplitContainer *page)
{
if (page == this->selectedPage) {