From bf39d34e373fe698e463c0ecfc672b64e9592fd4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 14 Mar 2015 07:26:26 +0000 Subject: Set default export format to PDF. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5630 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/GraphBox.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/GraphBox.cpp') 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); -- cgit v1.2.1