diff options
author | James Westman <flyingpimonster@flyingpimonster.net> | 2019-03-25 20:46:16 -0500 |
---|---|---|
committer | James Westman <flyingpimonster@flyingpimonster.net> | 2019-03-26 16:38:12 -0500 |
commit | 49e36d768f8e7617e62d03418caedc6059f17035 (patch) | |
tree | 63e16c60c0157d7f9714fab6f868d45d6519c59d | |
parent | affa89e6362700d3863a92bfa943c771b31015cc (diff) | |
download | gnome-maps-49e36d768f8e7617e62d03418caedc6059f17035.tar.gz |
printOperation: Fix message dialog not closing
This happened because the wrong condition was being checked to close
the message dialog. Now it will be closed when rendering is finished,
not when printing is finished.
-rw-r--r-- | src/printOperation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printOperation.js b/src/printOperation.js index 60399ff5..89462a59 100644 --- a/src/printOperation.js +++ b/src/printOperation.js @@ -62,7 +62,7 @@ var PrintOperation = class PrintOperation { let height = context.get_height(); Mainloop.timeout_add(_MIN_TIME_TO_ABORT, () => { - if (this._operation.get_status() !== Gtk.PrintStatus.FINISHED) { + if (!this._layout.renderFinished) { this._abortDialog.show(); } return false; |