diff --git a/src/gtk/gnome/gprint.cpp b/src/gtk/gnome/gprint.cpp index d9e20d0662..3150ad5092 100644 --- a/src/gtk/gnome/gprint.cpp +++ b/src/gtk/gnome/gprint.cpp @@ -717,7 +717,8 @@ bool wxGnomePrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt ) { gs_lgp->gnome_print_job_close( job ); g_object_unref (job); - sm_lastError = wxPRINTER_ERROR; + if (sm_lastError != wxPRINTER_CANCELLED) + sm_lastError = wxPRINTER_ERROR; return false; }