[qet] [1793] Fixed a bug preventing from adding an element when erasing an already integrated element .

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


Revision: 1793
Author:   xavier
Date:     2012-05-10 19:48:33 +0200 (Thu, 10 May 2012)
Log Message:
-----------
Fixed a bug preventing from adding an element when erasing an already integrated element.

Modified Paths:
--------------
    trunk/sources/qetproject.cpp

Modified: trunk/sources/qetproject.cpp
===================================================================
--- trunk/sources/qetproject.cpp	2012-05-10 15:23:41 UTC (rev 1792)
+++ trunk/sources/qetproject.cpp	2012-05-10 17:48:33 UTC (rev 1793)
@@ -641,7 +641,7 @@
 		} else if (action == QET::Erase) {
 			// il faut ecraser l'element deja integre
 			BasicMoveElementsHandler *erase_handler = new BasicMoveElementsHandler();
-			ElementsLocation result = copyElementWithHandler(integ_elmt, target_cat, erase_handler, error_message);
+			result = copyElementWithHandler(integ_elmt, target_cat, erase_handler, error_message);
 			delete erase_handler;
 		} else if (action == QET::Rename) {
 			// il faut faire cohabiter les deux elements en renommant le nouveau 


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