diff options
authorDavid Edmundson <[email protected]>2017-01-13 15:24:06 +0000
committerDavid Edmundson <[email protected]>2017-01-13 15:24:06 +0000
commitdd10d605c3d0aa2f59bcda3eb2312b474eac4a84 (patch)
parent083396bfd8495115fafbae3f9e475668149d8aab (diff)
Enable Edit Action in plasmoid mode
Summary: EditAction is a keyboard activated shortcut that shows a dialog, there's no reason for it to be available in standalone mode only, especially given the option to enable the shortcut is available from the plasmoid. BUG: 374961 Test Plan: Set shortcut. Pressed it. Got a dialog with my clipboard contents Standalone mode should be unchanged as it was showing it already. Reviewers: #plasma, mart Reviewed By: mart Subscribers: plasma-devel Tags: #plasma Differential Revision:
1 files changed, 0 insertions, 1 deletions
diff --git a/klipper/klipper.cpp b/klipper/klipper.cpp
index 8de19fb..4703227 100644
--- a/klipper/klipper.cpp
+++ b/klipper/klipper.cpp
@@ -173,7 +173,6 @@ Klipper::Klipper(QObject* parent, const KSharedConfigPtr& config, KlipperMode mo
m_editAction = m_collection->addAction(QStringLiteral("edit_clipboard"));
m_editAction->setText(i18n("&Edit Contents..."));
- m_editAction->setVisible(m_mode == KlipperMode::Standalone);
KGlobalAccel::setGlobalShortcut(m_editAction, QKeySequence());
connect(m_editAction, &QAction::triggered, this,
[this]() {