From e9321b741e2fd6f38c58a36397000502badc30d4 Mon Sep 17 00:00:00 2001 From: beville Date: Wed, 23 Jan 2013 06:00:59 +0000 Subject: [PATCH] Added more cursor feedback when saving git-svn-id: http://comictagger.googlecode.com/svn/trunk@328 6c5673fe-1810-88d6-992b-cd32ca31540c --- autotagmatchwindow.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/autotagmatchwindow.py b/autotagmatchwindow.py index 2abea85..fd7b3b9 100644 --- a/autotagmatchwindow.py +++ b/autotagmatchwindow.py @@ -192,7 +192,11 @@ class AutoTagMatchWindow(QtGui.QDialog): if cv_md is None: QtGui.QMessageBox.critical(self, self.tr("Network Issue"), self.tr("Could not connect to ComicVine to get issue details!")) return - + + QtGui.QApplication.setOverrideCursor(QtGui.QCursor(QtCore.Qt.WaitCursor)) md.overlay( cv_md ) - if not ca.writeMetadata( md, self.style ): + success = ca.writeMetadata( md, self.style ) + QtGui.QApplication.restoreOverrideCursor() + + if not success: QtGui.QMessageBox.warning(self, self.tr("Write Error"), self.tr("Saving the tags to the archive seemed to fail!"))