Patch #2006 2007-05-13 23:53

pauliusz

Patch for Bug #11036
Download
2006-Patch_for_Bug.patch (663 bytes)
Category
Application::Bugfix
Status
Accepted
Close date
2007-05-22 09:36
Assigned to
 
Index: src/sdk/cbeditor.cpp
===================================================================
--- src/sdk/cbeditor.cpp    (revision 3960)
+++ src/sdk/cbeditor.cpp    (working copy)
@@ -1279,7 +1279,7 @@
     wxFileDialog* dlg = new wxFileDialog(Manager::Get()->GetAppWindow(),
                                          _("Save file"),
                                          Path,
-                                         fname.GetName(),
+                                         fname.GetFullName(),
                                          Filters,
                                          wxSAVE | wxOVERWRITE_PROMPT);
     dlg->SetFilterIndex(StoredIndex);
pauliusz 2007-05-13 23:55

I think file extension should be always shown.

mandrav 2007-05-22 09:36

Patch applied.