mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
fix shortcut conflict between "Save as" and "Save copy as"
both are being created using KStandardAction::saveAs()
This commit is contained in:
parent
83299b9532
commit
ef8d018a72
1
part.cpp
1
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");
|
||||
|
|
Loading…
Reference in a new issue