changeset 35833:dbfedb331095

Keep GUI history untouched upon file select "Cancel". Currently, when "Cancel" is selected in the file select menu, the GUI history can be modified nevertheless. Presuming that "Cancel" shall discard changes, the history should be kept unchanged, too. Patch by Hans-Dieter Kosch, hdkosch kabelbw de.
author ib
date Thu, 28 Feb 2013 11:19:59 +0000
parents 6e4f1f9faca0
children 1dca5ff3d3c6
files gui/dialog/fileselect.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/fileselect.c	Thu Feb 28 11:18:20 2013 +0000
+++ b/gui/dialog/fileselect.c	Thu Feb 28 11:19:59 2013 +0000
@@ -548,7 +548,6 @@
 static void fs_Cancel_released( GtkButton * button,gpointer user_data )
 {
  HideFileSelect();
- fs_PersistantHistory( get_current_dir_name_utf8() );      //totem, write into history file
 }
 
 static void fs_fsFNameList_select_row( GtkCList * clist, gint row, gint column,