diff options
author | akshay-c | 2019-01-03 11:27:40 +0530 |
---|---|---|
committer | akshay-c | 2019-01-03 11:27:40 +0530 |
commit | 12a67b195387a18844e7f5d2c672f25f76d93684 (patch) | |
tree | c50819ce1daa1ef50e6cece2d71ed0ed055ba60e /ldmicro | |
parent | 9cc835fc825bdbea97eb4e1c0728b93230b5e6f9 (diff) | |
download | LDMicroGtk-12a67b195387a18844e7f5d2c672f25f76d93684.tar.gz LDMicroGtk-12a67b195387a18844e7f5d2c672f25f76d93684.tar.bz2 LDMicroGtk-12a67b195387a18844e7f5d2c672f25f76d93684.zip |
Simulaton menu greyed
Diffstat (limited to 'ldmicro')
-rw-r--r-- | ldmicro/maincontrols.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ldmicro/maincontrols.cpp b/ldmicro/maincontrols.cpp index 073f77f..042972e 100644 --- a/ldmicro/maincontrols.cpp +++ b/ldmicro/maincontrols.cpp @@ -528,6 +528,9 @@ HMENU MakeMainWindowMenus(void) // Packing the menu bar into the box for alignment gtk_box_pack_start(GTK_BOX(MenuBox), TopMenu, FALSE, FALSE, 0); AddMenuAccelerators (); + EnableMenuItem(SimulateMenu, StartSimulationMenu, MF_GRAYED); + EnableMenuItem(SimulateMenu, StopSimulationMenu, MF_GRAYED); + EnableMenuItem(SimulateMenu, SingleCycleMenu, MF_GRAYED); return MenuBox; } |