summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a7f69cd)
This went away with the commit fixing the menu for selections on
clickables, and is now being brought back.
// If we have text selected, insert the Copy Selection as first item
if (isPosOverSelection(pos)) {
// If we have text selected, insert the Copy Selection as first item
if (isPosOverSelection(pos)) {
+ QAction *sep = menu.insertSeparator(menu.actions().first());
QAction *act = new Action(SmallIcon("edit-copy"), tr("Copy Selection"), &menu, this,
SLOT(selectionToClipboard()), QKeySequence::Copy);
QAction *act = new Action(SmallIcon("edit-copy"), tr("Copy Selection"), &menu, this,
SLOT(selectionToClipboard()), QKeySequence::Copy);
- menu.insertAction(menu.actions().at(0), act);
+ menu.insertAction(sep, act);
}
if (QtUi::mainWindow()->menuBar()->isHidden())
}
if (QtUi::mainWindow()->menuBar()->isHidden())