[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : phil
Repository : xara
Revision   : 1085
Date       : Tue May 16 16:24:18 BST 2006

Changed paths:
   M /Trunk/XaraLX/wxOil/camdoc.cpp

Fix for passing filename back into wxFileDialog after choosing SaveAs from overwrite warning.


Diff:
Index: Trunk/XaraLX/wxOil/camdoc.cpp
===================================================================
--- Trunk/XaraLX/wxOil/camdoc.cpp	(revision 1084)
+++ Trunk/XaraLX/wxOil/camdoc.cpp	(revision 1085)
@@ -1750,6 +1750,7 @@
 			{
 				// User wants to save as some other name
 				wxSplitPath(tmp, &strPath, &strName, &strExt);
+				strName = wxFileNameFromPath(tmp);
 				tmp = _T("");
 				bShowFileSelectorAgain = TRUE;
 			}


Xara