From 327c9106db3e23898ebbd267cff0d051de633b6c Mon Sep 17 00:00:00 2001 From: akshay-c Date: Wed, 26 Dec 2018 11:03:57 +0530 Subject: Patch: resolved Singe Cycle Simulation issue --- ldmicro/CMakeLists.txt | 3 ++- ldmicro/ldmicro.cpp | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ldmicro/CMakeLists.txt b/ldmicro/CMakeLists.txt index 140e94b..c5b73cd 100644 --- a/ldmicro/CMakeLists.txt +++ b/ldmicro/CMakeLists.txt @@ -158,7 +158,8 @@ IF(UNIX) set(CPACK_GENERATOR "DEB") set(CPACK_PACKAGE_VERSION_MAJOR "2") set(CPACK_PACKAGE_VERSION_MINOR "2") - set(CPACK_PACKAGE_VERSION_PATCH "0") + set(CPACK_PACKAGE_VERSION_PATCH "3") + set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) set(CPACK_PACKAGE_DESCRIPTION "Ladder Logic editor, simulator and compiler for 8 bit microcontrollers") set(CPACK_PACKAGE_CONTACT "Akshay Chipkar akshaychipkar@yahoo.co.in") diff --git a/ldmicro/ldmicro.cpp b/ldmicro/ldmicro.cpp index 1e8c93d..85ae7c5 100644 --- a/ldmicro/ldmicro.cpp +++ b/ldmicro/ldmicro.cpp @@ -764,6 +764,7 @@ gboolean LD_GTK_mouse_click_hook(GtkWidget *widget, GdkEvent *event, gpointer us } else { CHANGING_PROGRAM(EditElementMouseDoubleclick(x, y)); } + RefreshControlsToSettings(); gtk_widget_queue_draw(DrawWindow); } break; @@ -947,6 +948,8 @@ void LD_WM_Notify_Row_Activate_call(GtkTreeView *tree_view, GtkTreePath *path, G h.hlistFrom = IoList; IoListProc(&h); + RefreshControlsToSettings(); + // gtk_widget_queue_draw(DrawWindow); } void LD_WM_Notify_Cursor_Change_call(GtkTreeView *tree_view, gpointer user_data) -- cgit