summaryrefslogtreecommitdiff
path: root/ldmicro/maincontrols.cpp
diff options
context:
space:
mode:
authorakshay-c2019-01-03 11:27:40 +0530
committerakshay-c2019-01-03 11:27:40 +0530
commit12a67b195387a18844e7f5d2c672f25f76d93684 (patch)
treec50819ce1daa1ef50e6cece2d71ed0ed055ba60e /ldmicro/maincontrols.cpp
parent9cc835fc825bdbea97eb4e1c0728b93230b5e6f9 (diff)
downloadLDMicroGtk-12a67b195387a18844e7f5d2c672f25f76d93684.tar.gz
LDMicroGtk-12a67b195387a18844e7f5d2c672f25f76d93684.tar.bz2
LDMicroGtk-12a67b195387a18844e7f5d2c672f25f76d93684.zip
Simulaton menu greyed
Diffstat (limited to 'ldmicro/maincontrols.cpp')
-rw-r--r--ldmicro/maincontrols.cpp3
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;
}