summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-09 23:18:28 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-09 23:18:28 +0000
commit6bfdd0f45927a4dfecf10e851b1902a899de5aa2 (patch)
tree3e079a097f8a7d4ff3fb11020aaacca563fd09b5 /src/tools
parent914849f57d4979d537fe4215576bc6e05d2f8795 (diff)
Some more KDM hacking.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dvdomatic.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/tools/dvdomatic.cc b/src/tools/dvdomatic.cc
index cfdd03a30..7d7adcce8 100644
--- a/src/tools/dvdomatic.cc
+++ b/src/tools/dvdomatic.cc
@@ -338,7 +338,15 @@ public:
void jobs_make_kdms (wxCommandEvent &)
{
KDMDialog* d = new KDMDialog (this);
- d->ShowModal ();
+ if (d->ShowModal () == wxID_OK) {
+ _film->make_kdms (
+ d->screens (),
+ d->from (),
+ d->until (),
+ d->directory ()
+ );
+ }
+
d->Destroy ();
}