gui_editactions.cpp

changeset 151
15fe6c51de54
parent 147
291a1fe2d278
child 154
cc53e5cbad54
--- a/gui_editactions.cpp	Fri May 03 17:30:44 2013 +0300
+++ b/gui_editactions.cpp	Fri May 03 18:14:18 2013 +0300
@@ -223,7 +223,7 @@
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 // =============================================================================
 MAKE_ACTION (setContents, "Set Contents", "set-contents", "Set the raw code of this object.", KEY (F9)) {
-	if (g_ForgeWindow->qObjList->selectedItems().size() != 1)
+	if (g_ForgeWindow->objList->selectedItems().size() != 1)
 		return;
 	
 	LDObject* obj = g_ForgeWindow->sel[0];
@@ -234,7 +234,7 @@
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 // =============================================================================
 MAKE_ACTION (setColor, "Set Color", "palette", "Set the color on given objects.", KEY (F10)) {
-	if (g_ForgeWindow->qObjList->selectedItems().size() <= 0)
+	if (g_ForgeWindow->objList->selectedItems().size() <= 0)
 		return;
 	
 	short dColor;

mercurial