summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-03-14 07:26:26 +0000
committerDavid Robillard <d@drobilla.net>2015-03-14 07:26:26 +0000
commitbf39d34e373fe698e463c0ecfc672b64e9592fd4 (patch)
tree72bdbd5a0a8c4f661f10adfeeb6637badbfbaa02 /src/gui
parent21658d82b0a706c82ce71f06f3d7ce6df16fd146 (diff)
downloadingen-bf39d34e373fe698e463c0ecfc672b64e9592fd4.tar.gz
ingen-bf39d34e373fe698e463c0ecfc672b64e9592fd4.tar.bz2
ingen-bf39d34e373fe698e463c0ecfc672b64e9592fd4.zip
Set default export format to PDF.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5630 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-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);