summaryrefslogtreecommitdiff
path: root/src/wx/kdm_output_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-03-19 22:34:00 +0100
committerCarl Hetherington <cth@carlh.net>2022-03-19 22:34:23 +0100
commit7bc591abc86ed4742f21f45ca1d6151cb14bc100 (patch)
tree661f3e1c78e80be366f0caad720f10e835a9f573 /src/wx/kdm_output_panel.cc
parentc7d1f6e7988888811fdac36c465919f170a06c7a (diff)
Add config option for default KDM type.
Diffstat (limited to 'src/wx/kdm_output_panel.cc')
-rw-r--r--src/wx/kdm_output_panel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/kdm_output_panel.cc b/src/wx/kdm_output_panel.cc
index ec2182c36..bc66e37b9 100644
--- a/src/wx/kdm_output_panel.cc
+++ b/src/wx/kdm_output_panel.cc
@@ -72,7 +72,7 @@ KDMOutputPanel::KDMOutputPanel (wxWindow* parent)
auto type = new wxBoxSizer (wxHORIZONTAL);
_type = new KDMChoice (this);
type->Add (_type, 1, wxTOP, DCPOMATIC_CHOICE_TOP_PAD);
- _type->SetSelection (0);
+ _type->set(Config::instance()->default_kdm_type());
auto advanced = new Button (this, _("Advanced..."));
type->Add (advanced, 0, wxLEFT | wxALIGN_CENTER_VERTICAL, DCPOMATIC_SIZER_X_GAP);
table->Add (type, 1, wxTOP, DCPOMATIC_CHOICE_TOP_PAD);