gui_editactions.cpp

changeset 164
8c93d8e38494
parent 162
b7d65e89861a
child 165
88a03c1a52d9
--- a/gui_editactions.cpp	Sun May 05 17:04:42 2013 +0300
+++ b/gui_editactions.cpp	Mon May 06 00:10:56 2013 +0300
@@ -519,7 +519,7 @@
 					LDObject* prev = g_curfile->object (idx - 1);
 					LDBFC* bfc = dynamic_cast<LDBFC*> (prev);
 					
-					if (bfc && bfc->eStatement == LDBFC::InvertNext) {
+					if (bfc && bfc->type == LDBFC::InvertNext) {
 						// Object is prefixed with an invertnext, thus remove it.
 						paHistory.push_back (new DelHistory ({idx - 1}, {bfc->clone ()}));
 						

mercurial