From d9f284cbf0bbb524cfc7c27080fda739f2a120a2 Mon Sep 17 00:00:00 2001 From: jblum Date: Fri, 28 Nov 2008 07:14:58 +0000 Subject: fix git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10082 221aa14e-8319-0410-a670-987f0aec2ac5 --- grc/src/gui/FileDialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grc') diff --git a/grc/src/gui/FileDialogs.py b/grc/src/gui/FileDialogs.py index 78c74c91a..efd3fecfe 100644 --- a/grc/src/gui/FileDialogs.py +++ b/grc/src/gui/FileDialogs.py @@ -120,7 +120,7 @@ class FileDialog(FileDialogHelper): if self.type in (SAVE_FLOW_GRAPH, SAVE_IMAGE): filename = self.get_filename() for extension, filter in ( - (FLOW_GRAPH_FILE_EXTENSION, get_flow_graph_files_filter()), + (Preferences.file_extension(), get_flow_graph_files_filter()), (IMAGE_FILE_EXTENSION, get_image_files_filter()), ): #append the missing file extension if the filter matches if filename[len(filename)-len(extension):] != extension \ -- cgit