From df1231112f08a66addd444c08839dee87905974d Mon Sep 17 00:00:00 2001 From: akshay-c Date: Tue, 9 Apr 2019 10:46:06 +0530 Subject: Drawing Elements and HelpDialog --- ldmicro/schematic.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ldmicro/schematic.cpp') diff --git a/ldmicro/schematic.cpp b/ldmicro/schematic.cpp index b2a61ec..a656183 100644 --- a/ldmicro/schematic.cpp +++ b/ldmicro/schematic.cpp @@ -514,7 +514,7 @@ void EditElementMouseDoubleclick(int x, int y) gy += ScrollYOffset; - /*if(InSimulationMode) { + if(InSimulationMode) { ElemLeaf *l = DisplayMatrix[gx][gy]; if(l && DisplayMatrixWhich[gx][gy] == ELEM_CONTACTS) { char *name = l->d.contacts.name; @@ -522,13 +522,13 @@ void EditElementMouseDoubleclick(int x, int y) SimulationToggleContact(name); } } else if(l && DisplayMatrixWhich[gx][gy] == ELEM_READ_ADC) { - ShowAnalogSliderPopup(l->d.readAdc.name); + // ShowAnalogSliderPopup(l->d.readAdc.name); } } else { if(DisplayMatrix[gx][gy] == Selected) { EditSelectedElement(); } - }*/ + } } //----------------------------------------------------------------------------- -- cgit