summaryrefslogtreecommitdiff
path: root/src/wx/normal_job_view.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-01-28 00:35:55 +0000
committerCarl Hetherington <cth@carlh.net>2017-01-28 00:35:55 +0000
commitf5bc071ddac2355da1d116404cc37f4485e97699 (patch)
tree55da5257669b366fac0a6d9d214655f75867543a /src/wx/normal_job_view.cc
parent861267156da5960260c9a080dce94c0892fd012a (diff)
Add priority control buttons to batch converter (#961).
Diffstat (limited to 'src/wx/normal_job_view.cc')
-rw-r--r--src/wx/normal_job_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/normal_job_view.cc b/src/wx/normal_job_view.cc
index 9bfa332c9..22b3e1cc7 100644
--- a/src/wx/normal_job_view.cc
+++ b/src/wx/normal_job_view.cc
@@ -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"));
}
}