summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/GraphBox.cpp')
-rw-r--r--src/gui/GraphBox.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp
index 901b47bd..b5ba0b4f 100644
--- a/src/gui/GraphBox.cpp
+++ b/src/gui/GraphBox.cpp
@@ -619,6 +619,9 @@ GraphBox::event_export_image()
filt.add_pattern(t->first);
filt.set_name(t->second);
dialog.add_filter(filt);
+ if (t->first == "*.pdf") {
+ dialog.set_filter(filt);
+ }
}
Gtk::CheckButton* bg_but = new Gtk::CheckButton("Draw _Background", true);