summaryrefslogtreecommitdiff
path: root/ldmicro/maincontrols.cpp
diff options
context:
space:
mode:
authorNatsuDrag92018-06-27 15:03:35 +0530
committerGitHub2018-06-27 15:03:35 +0530
commitba30e0ab39e4bcad351f931e9e965d67d843d858 (patch)
tree17d5d942da7122a3ac8fa0993d37f8645b5fd91e /ldmicro/maincontrols.cpp
parenta488648a67bbddc8b9eb0f9417a920f454d1170f (diff)
parent2df93eeac5ef7550e750fc894c1ff789f3034bc9 (diff)
downloadLDMicroGtk-ba30e0ab39e4bcad351f931e9e965d67d843d858.tar.gz
LDMicroGtk-ba30e0ab39e4bcad351f931e9e965d67d843d858.tar.bz2
LDMicroGtk-ba30e0ab39e4bcad351f931e9e965d67d843d858.zip
Merge pull request #18 from akshay-c/GUI_port
Gui port
Diffstat (limited to 'ldmicro/maincontrols.cpp')
-rw-r--r--ldmicro/maincontrols.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldmicro/maincontrols.cpp b/ldmicro/maincontrols.cpp
index 0deaf73..14aa308 100644
--- a/ldmicro/maincontrols.cpp
+++ b/ldmicro/maincontrols.cpp
@@ -541,6 +541,7 @@ void MakeMainWindowControls(void)
/// Creating a list
view = gtk_tree_view_new_with_model (GTK_TREE_MODEL(IoList));
gtk_tree_view_set_model (GTK_TREE_VIEW (view), GTK_TREE_MODEL (IoList));
+ gtk_tree_view_set_enable_search (GTK_TREE_VIEW (view), FALSE);
column = gtk_tree_view_column_new_with_attributes("Name",
gtk_cell_renderer_text_new(),
@@ -908,7 +909,7 @@ void ToggleSimulationMode(void)
EnableMenuItem(TopMenu, Settings, MF_GRAYED);
EnableMenuItem(TopMenu, InstructionMenu, MF_GRAYED);
EnableMenuItem(TopMenu, Compile, MF_GRAYED);
-
+
CheckMenuItem(SimulateMenu, SimulationModeMenu, MF_CHECKED);
ClearSimulationData(); // simulation.cpp, ldmicro.h