mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user