diff options
| author | Joel Holdsworth <joel@airwebreathe.org.uk> | 2008-05-24 15:49:04 +0000 |
|---|---|---|
| committer | joelholdsworth <joelholdsworth@users.sourceforge.net> | 2008-05-24 15:49:04 +0000 |
| commit | 2a4c1f871a671bdb0b7bf4827382260b945d2e07 (patch) | |
| tree | 4de497fd9a91029448aa0e9e18d83eb2f05cec29 /src/file.cpp | |
| parent | Added an 'appearance' hint to .inx optiongroups to allow for dropdowns instea... (diff) | |
| download | inkscape-2a4c1f871a671bdb0b7bf4827382260b945d2e07.tar.gz inkscape-2a4c1f871a671bdb0b7bf4827382260b945d2e07.zip | |
Fixed the open dialog so that it remembers which folder you were browsing in
(bzr r5749)
Diffstat (limited to 'src/file.cpp')
| -rw-r--r-- | src/file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.cpp b/src/file.cpp index fb03c25e7..111e6028a 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -493,7 +493,7 @@ sp_file_open_dialog(Gtk::Window &parentWindow, gpointer /*object*/, gpointer /*d else g_warning( "ERROR CONVERTING OPEN FILENAME TO UTF-8" ); - open_path = fileName; + open_path = Glib::path_get_dirname (fileName); open_path.append(G_DIR_SEPARATOR_S); prefs_set_string_attribute("dialogs.open", "path", open_path.c_str()); |
