diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-03-22 16:00:15 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-03-22 16:00:15 +0000 |
| commit | 604ef9902b6b2256adea97a20195cdb68b3a4aa6 (patch) | |
| tree | 92ef8c2e9f9934ae872fb47c43c04016529142c4 /src/wx/kdm_dialog.cc | |
| parent | f4e435f24a6832f54727e4898901db7de3e21460 (diff) | |
Allow up to 500MB/s J2K bitrate.
Requested-by: Jonathan Jensen
Diffstat (limited to 'src/wx/kdm_dialog.cc')
| -rw-r--r-- | src/wx/kdm_dialog.cc | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/wx/kdm_dialog.cc b/src/wx/kdm_dialog.cc index 1f4d62bde..cc643c8ef 100644 --- a/src/wx/kdm_dialog.cc +++ b/src/wx/kdm_dialog.cc @@ -263,8 +263,6 @@ KDMDialog::add_cinema_clicked () Config::instance()->add_cinema (c); add_cinema (c); - Config::instance()->write (); - d->Destroy (); } @@ -284,7 +282,7 @@ KDMDialog::edit_cinema_clicked () c.second->email = d->email (); _targets->SetItemText (c.first, std_to_wx (d->name())); - Config::instance()->write (); + Config::instance()->changed (); d->Destroy (); } @@ -300,8 +298,6 @@ KDMDialog::remove_cinema_clicked () Config::instance()->remove_cinema (c.second); _targets->Delete (c.first); - - Config::instance()->write (); } void @@ -322,7 +318,7 @@ KDMDialog::add_screen_clicked () c->add_screen (s); add_screen (c, s); - Config::instance()->write (); + Config::instance()->changed (); d->Destroy (); } @@ -343,7 +339,7 @@ KDMDialog::edit_screen_clicked () s.second->certificate = d->certificate (); _targets->SetItemText (s.first, std_to_wx (d->name())); - Config::instance()->write (); + Config::instance()->changed (); d->Destroy (); } @@ -370,7 +366,7 @@ KDMDialog::remove_screen_clicked () i->second->remove_screen (s.second); _targets->Delete (s.first); - Config::instance()->write (); + Config::instance()->changed (); } list<shared_ptr<Screen> > |
