src/gui.cpp

changeset 489
0b32138fedcc
parent 484
5b5c77c7f3dd
child 664
e3a32a79a10a
--- a/src/gui.cpp	Sat Sep 07 14:21:33 2013 +0300
+++ b/src/gui.cpp	Sat Sep 07 16:40:05 2013 +0300
@@ -501,10 +501,14 @@
 void ForgeWindow::updateSelection() {
 	g_bSelectionLocked = true;
 	
+	print ("1\n");
 	for (LDObject* obj : LDFile::current()->objects())
 		obj->setSelected (false);
 	
+	print ("2\n");
 	ui->objectList->clearSelection();
+	
+	print ("3\n");
 	for (LDObject* obj : m_sel) {
 		if (obj->qObjListEntry == null)
 			continue;
@@ -513,6 +517,7 @@
 		obj->setSelected (true);
 	}
 	
+	print ("4\n");
 	g_bSelectionLocked = false;
 	slot_selectionChanged();
 }

mercurial