Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

Grey out multi-Clear Quest Filepath

0 replies · 2,672 views · Started 24 February 2024

I think we should have Etc->Clear Quest Filepath grey out after clicking "Yes" on the Clear Quest Path msgbox, because there is no point in clearing it twice.

Here is an example of how to grey out a menu option:


edit_menu.disable_uid(MENUID_EDIT_UNDO, !Map.CanUndo());
edit_menu.disable_uid(MENUID_EDIT_REDO, !Map.CanRedo());