Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
comparison FrmMainWindow.cs @ 29:2e5448a662b6
Re #69: Add "export army" UI
* Only enable export menu when there is an army to export
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 01 Sep 2009 19:42:53 +0000 |
parents | 9440eef124b0 |
children | 5fafbb1b4592 |
comparison
equal
deleted
inserted
replaced
28:9440eef124b0 | 29:2e5448a662b6 |
---|---|
486 } | 486 } |
487 } | 487 } |
488 | 488 |
489 miCloseArmy.Sensitive = newArmy!=null; | 489 miCloseArmy.Sensitive = newArmy!=null; |
490 miSaveArmyAs.Sensitive = newArmy!=null; | 490 miSaveArmyAs.Sensitive = newArmy!=null; |
491 miExportArmy.Sensitive = newArmy!=null; | |
491 //New army has no changes, so we can't save it | 492 //New army has no changes, so we can't save it |
492 miSaveArmy.Sensitive = false; | 493 miSaveArmy.Sensitive = false; |
493 saveArmyButton.Sensitive = false; | 494 saveArmyButton.Sensitive = false; |
494 | 495 |
495 CommandStack.Reset(); | 496 CommandStack.Reset(); |