edited split dropdown

This commit is contained in:
fourtf
2020-08-13 18:02:23 +02:00
parent 8661c83312
commit 2c74e98023
5 changed files with 45 additions and 13 deletions
+11
View File
@@ -327,6 +327,17 @@ void Window::addShortcuts()
createWindowShortcut(this, "CTRL+SHIFT+TAB",
[this] { this->notebook_->selectPreviousTab(); });
createWindowShortcut(this, "CTRL+N", [this] {
if (auto page = dynamic_cast<SplitContainer *>(
this->notebook_->getSelectedPage()))
{
if (auto split = page->getSelectedSplit())
{
split->popup();
}
}
});
// Zoom in
{
auto s = new QShortcut(QKeySequence::ZoomIn, this);