[qet] [2838] Minor changes

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


Revision: 2838
Author:   scorpio810
Date:     2014-02-08 19:51:06 +0100 (Sat, 08 Feb 2014)
Log Message:
-----------
Minor changes

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

Modified: trunk/sources/qetdiagrameditor.cpp
===================================================================
--- trunk/sources/qetdiagrameditor.cpp	2014-02-08 18:49:02 UTC (rev 2837)
+++ trunk/sources/qetdiagrameditor.cpp	2014-02-08 18:51:06 UTC (rev 2838)
@@ -402,7 +402,7 @@
 	connect(conductor_reset,    SIGNAL(triggered()), this,       SLOT(slot_resetConductors())      );
 	connect(infos_diagram,      SIGNAL(triggered()), this,       SLOT(editCurrentDiagramProperties()));
 	connect(add_text,           SIGNAL(triggered()), this,       SLOT(slot_addText())              );
-	connect(add_image,			SIGNAL(triggered()), this,       SLOT(slot_addImage())              );
+	connect(add_image,          SIGNAL(triggered()), this,       SLOT(slot_addImage())              );
 	connect(add_column,         SIGNAL(triggered()), this,       SLOT(slot_addColumn())            );
 	connect(remove_column,      SIGNAL(triggered()), this,       SLOT(slot_removeColumn())         );
 	connect(add_row,            SIGNAL(triggered()), this,       SLOT(slot_addRow())               );
@@ -1160,13 +1160,10 @@
 	remove_column     -> setEnabled(editable_diagram);
 	add_row           -> setEnabled(editable_diagram);
 	remove_row        -> setEnabled(editable_diagram);
-	add_image         ->setEnabled(editable_diagram);
+	add_image         -> setEnabled(editable_diagram);
+	prj_nomenclature  -> setEnabled(editable_project);
+
 	
-	//display the beta feature in all mode
-#ifdef QT_NO_DEBUG
-	prj_nomenclature  -> setVisible(true);
-#endif
-	
 	slot_updateModeActions();
 	slot_updatePasteAction();
 	slot_updateComplexActions();


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