Commit 31164ab1 authored by Laurent Montel's avatar Laurent Montel 😁

Add "copy" when we have selection

parent fa534040
...@@ -83,7 +83,7 @@ void SieveEditorWebEngineView::contextMenuEvent(QContextMenuEvent *ev) ...@@ -83,7 +83,7 @@ void SieveEditorWebEngineView::contextMenuEvent(QContextMenuEvent *ev)
} }
act = pageAction(QWebEnginePage::Copy); act = pageAction(QWebEnginePage::Copy);
if (act->isEnabled()) { if (act->isEnabled() && hasSelection()) {
menu.addAction(act); menu.addAction(act);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment