summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukáš Tinkl <lukas@kde.org>2014-10-08 01:48:02 (GMT)
committerLukáš Tinkl <lukas@kde.org>2014-10-08 01:48:02 (GMT)
commitef8d018a721eeff205740f271cc8e83a14bb0fb0 (patch)
tree81a01290ae287d7014eb755cdddeec000d30bd8b
parent83299b95328d9f3021666c8793994ec553cd8c73 (diff)
fix shortcut conflict between "Save as" and "Save copy as"
both are being created using KStandardAction::saveAs()
-rw-r--r--part.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/part.cpp b/part.cpp
index d4949b0..d68dd0e 100644
--- a/part.cpp
+++ b/part.cpp
@@ -749,6 +749,7 @@ void Part::setupActions()
m_saveCopyAs->setEnabled( false );
m_saveAs = KStandardAction::saveAs( this, SLOT(slotSaveFileAs()), ac );
+ ac->setDefaultShortcuts(m_saveAs, KStandardShortcut::shortcut(KStandardShortcut::Save));
m_saveAs->setEnabled( false );
m_showLeftPanel = ac->add<KToggleAction>("show_leftpanel");