change 'pause' menu item to a proper check item. GTK is picky about it.

This commit is contained in:
StapleButter 2017-09-21 21:31:20 +02:00
parent 65b332b152
commit 8e41ed751e
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ int main(int argc, char** argv)
menu = uiNewMenu("System");
menuitem = uiMenuAppendItem(menu, "Run");
uiMenuItemOnClicked(menuitem, OnRun, NULL);
menuitem = uiMenuAppendItem(menu, "Pause");
menuitem = uiMenuAppendCheckItem(menu, "Pause");
uiMenuItemOnClicked(menuitem, OnPause, NULL);
MenuItem_Pause = menuitem;
uiMenuAppendSeparator(menu);