summaryrefslogtreecommitdiff
path: root/ldmicro/schematic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/schematic.cpp')
-rw-r--r--ldmicro/schematic.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ldmicro/schematic.cpp b/ldmicro/schematic.cpp
index a656183..1670475 100644
--- a/ldmicro/schematic.cpp
+++ b/ldmicro/schematic.cpp
@@ -402,22 +402,22 @@ void EditSelectedElement(void)
{
if(!Selected || Selected->selectedState == SELECTED_NONE) return;
- /*switch(SelectedWhich) {
- case ELEM_COMMENT:
+ switch(SelectedWhich) {
+ /*case ELEM_COMMENT:
ShowCommentDialog(Selected->d.comment.str);
break;
case ELEM_CONTACTS:
ShowContactsDialog(&(Selected->d.contacts.negated),
Selected->d.contacts.name);
- break;
+ break;*/
case ELEM_COIL:
ShowCoilDialog(&(Selected->d.coil.negated),
&(Selected->d.coil.setOnly), &(Selected->d.coil.resetOnly),
Selected->d.coil.name);
break;
-
+/*
case ELEM_TON:
case ELEM_TOF:
case ELEM_RTO:
@@ -492,8 +492,8 @@ void EditSelectedElement(void)
case ELEM_LOOK_UP_TABLE:
ShowLookUpTableDialog(Selected);
- break;
- }*/
+ break;*/
+ }
}
//-----------------------------------------------------------------------------