diff options
author | NatsuDrag9 | 2018-06-27 15:03:35 +0530 |
---|---|---|
committer | GitHub | 2018-06-27 15:03:35 +0530 |
commit | ba30e0ab39e4bcad351f931e9e965d67d843d858 (patch) | |
tree | 17d5d942da7122a3ac8fa0993d37f8645b5fd91e /ldmicro/maincontrols.cpp | |
parent | a488648a67bbddc8b9eb0f9417a920f454d1170f (diff) | |
parent | 2df93eeac5ef7550e750fc894c1ff789f3034bc9 (diff) | |
download | LDMicroGtk-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.cpp | 3 |
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 |