diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-25 22:27:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-25 22:27:25 +0100 |
| commit | 539941e7db8deba31898eb81af94009a3944e9f0 (patch) | |
| tree | 49c3449bec51735701ed23fa8f87f2aa661ea8c9 /src/tools | |
| parent | 3799de12820e2675a837acf672f3a253ee0b3566 (diff) | |
Basic config dialogue.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dvdomatic.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/dvdomatic.cc b/src/tools/dvdomatic.cc index db84999eb..b6929a033 100644 --- a/src/tools/dvdomatic.cc +++ b/src/tools/dvdomatic.cc @@ -26,7 +26,7 @@ #include "wx/film_player.h" #endif #include "wx/job_manager_view.h" -//#include "gtk/config_dialog.h" +#include "wx/config_dialog.h" #include "wx/job_wrapper.h" //#include "gtk/dvd_title_dialog.h" #include "wx/wx_util.h" @@ -76,6 +76,7 @@ private: wxMessageDialog* _dialog; }; + void maybe_save_then_delete_film () { @@ -98,8 +99,6 @@ maybe_save_then_delete_film () film = 0; } - - enum Sensitivity { ALWAYS, NEEDS_FILM @@ -249,9 +248,10 @@ public: void edit_preferences (wxCommandEvent &) { -// ConfigDialog d; -// d.run (); -// Config::instance()->write (); + ConfigDialog* d = new ConfigDialog (this); + d->ShowModal (); + d->Destroy (); + Config::instance()->write (); } void jobs_make_dcp (wxCommandEvent &) |
