summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/job_view.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/job_view.cc b/src/wx/job_view.cc
index 8718d14e3..136b18ed3 100644
--- a/src/wx/job_view.cc
+++ b/src/wx/job_view.cc
@@ -121,7 +121,9 @@ JobView::details_clicked (wxCommandEvent &)
void
JobView::cancel_clicked (wxCommandEvent &)
{
- _job->cancel ();
+ if (confirm_dialog (_parent, _("Are you sure you want to cancel this job?"))) {
+ _job->cancel ();
+ }
}
void