summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2014-01-23 12:28:17 (GMT)
committerChristoph Cullmann <cullmann@kde.org>2014-01-23 12:28:17 (GMT)
commitb182d5c0107b0e452acb25a29820b53c76191a5f (patch)
tree0df1701a50f29dda564c060e0f2df44e6321e593
parentf8c3de208c11aaa9e616554508f51940c0cd244d (diff)
close other views action, too
-rw-r--r--kate/app/kateviewspace.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kate/app/kateviewspace.cpp b/kate/app/kateviewspace.cpp
index da2d91d..86a49e1 100644
--- a/kate/app/kateviewspace.cpp
+++ b/kate/app/kateviewspace.cpp
@@ -68,6 +68,7 @@ KateViewSpace::KateViewSpace(KateViewManager *viewManager,
split->addAction(m_viewManager->mainWindow()->actionCollection()->action(QStringLiteral("view_split_vert")));
split->addAction(m_viewManager->mainWindow()->actionCollection()->action(QStringLiteral("view_split_horiz")));
split->addAction(m_viewManager->mainWindow()->actionCollection()->action(QStringLiteral("view_close_current_space")));
+ split->addAction(m_viewManager->mainWindow()->actionCollection()->action(QStringLiteral("view_close_others")));
split->setWhatsThis(i18n("Control view space splitting"));
split->installEventFilter(this); // on click, active this view space
hLayout->addWidget(split);