diff --git a/gtk/src/gtk_preferences.cpp b/gtk/src/gtk_preferences.cpp index 14fae0d9..c127271d 100644 --- a/gtk/src/gtk_preferences.cpp +++ b/gtk/src/gtk_preferences.cpp @@ -238,7 +238,7 @@ event_shader_select (GtkButton *widget, gpointer data) if (strcmp (gui_config->last_shader_directory, "")) { gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), - gui_config->last_directory); + gui_config->last_shader_directory); } else {