[qet] [2539] Element editor context menu: adding a submenu

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 2539
Author:   scorpio810
Date:     2013-09-15 13:21:07 +0200 (Sun, 15 Sep 2013)
Log Message:
-----------
Element editor context menu: adding a submenu 

Modified Paths:
--------------
    trunk/sources/editor/qetelementeditor.cpp

Modified: trunk/sources/editor/qetelementeditor.cpp
===================================================================
--- trunk/sources/editor/qetelementeditor.cpp	2013-09-15 06:41:52 UTC (rev 2538)
+++ trunk/sources/editor/qetelementeditor.cpp	2013-09-15 11:21:07 UTC (rev 2539)
@@ -376,7 +376,7 @@
 	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 @@
 	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);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/