Mark .exr as a valid image file.
[dcpomatic.git] / src / wx / normal_job_view.cc
index 9bfa332c965b2bb90ba6afe7c88c17d7a1b683c6..22b3e1cc7e9ec07bc448eded42d82d15ad3f6d23 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2017 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -48,11 +48,11 @@ NormalJobView::insert_position () const
 void
 NormalJobView::pause_clicked ()
 {
-       if (_job->paused()) {
+       if (_job->paused_by_user()) {
                _job->resume ();
                _pause->SetLabel (_("Pause"));
        } else {
-               _job->pause ();
+               _job->pause_by_user ();
                _pause->SetLabel (_("Resume"));
        }
 }