Fix bits missed from previous commit.
[dcpomatic.git] / src / wx / kdm_output_panel.cc
index e7374cff924dc582a5aae81da51d0df45b6ea77a..7779663664cbef2289c970e858266c90856320b1 100644 (file)
@@ -172,6 +172,7 @@ KDMOutputPanel::write_to_changed ()
 {
        Config::instance()->set_write_kdms_to_disk(_write_to->GetValue());
        setup_sensitivity ();
+       MethodChanged();
 }
 
 
@@ -180,6 +181,7 @@ KDMOutputPanel::email_changed ()
 {
        Config::instance()->set_email_kdms(_email->GetValue());
        setup_sensitivity ();
+       MethodChanged();
 }
 
 
@@ -348,3 +350,10 @@ KDMOutputPanel::add_email_addresses_clicked ()
        }
 }
 
+
+bool
+KDMOutputPanel::method_selected() const
+{
+       return _write_to->GetValue() || _email->GetValue();
+}
+