From 12a67b195387a18844e7f5d2c672f25f76d93684 Mon Sep 17 00:00:00 2001 From: akshay-c Date: Thu, 3 Jan 2019 11:27:40 +0530 Subject: Simulaton menu greyed --- ldmicro/maincontrols.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ldmicro') 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; } -- cgit