Element editor context menu: adding a submenu

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2539 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2013-09-15 11:21:07 +00:00
parent c43ca7c5b9
commit d12793e95b

View File

@@ -376,7 +376,7 @@ void QETElementEditor::setupMenus() {
paste_from_menu -> setIcon(QET::Icons::EditPaste);
paste_from_menu -> addAction(paste_from_file);
paste_from_menu -> addAction(paste_from_elmt);
edit_menu -> addAction(undo);
edit_menu -> addAction(redo);
edit_menu -> addSeparator();
@@ -430,8 +430,7 @@ void QETElementEditor::contextMenuEvent(QContextMenuEvent *event)
menu.addSeparator();
menu.addAction(paste);
menu.addAction(paste_in_area);
menu.addAction(paste_from_file);
menu.addAction(paste_from_elmt);
menu.addMenu(paste_from_menu);
menu.addSeparator();
menu.addAction(edit_forward);
menu.addAction(edit_raise);