changeset 65:c4181adba7df

Re #176: Bug when saving recently edited army * Fix "saving over army" problem by wiping "loaded file path" when army changes
author IBBoard <dev@ibboard.co.uk>
date Sat, 26 Sep 2009 09:33:57 +0000
parents e04bea5b7b3d
children 68d4f7499212
files FrmMain.cs
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/FrmMain.cs	Tue Sep 22 19:24:00 2009 +0000
+++ b/FrmMain.cs	Sat Sep 26 09:33:57 2009 +0000
@@ -856,6 +856,7 @@
 
 			CommandStack.Reset();
 
+			loadedFilePath = null;
 			miSaveArmy.Enabled = false;
 			bttnSaveArmy.Enabled = false;