Fixed a rename window bug where window was going away too soon

git-svn-id: http://comictagger.googlecode.com/svn/trunk@329 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville 2013-01-23 18:54:44 +00:00
parent e9321b741e
commit cab525675d

View File

@ -119,7 +119,6 @@ class RenameWindow(QtGui.QDialog):
self.doPreview()
def accept( self ):
QtGui.QDialog.accept(self)
progdialog = QtGui.QProgressDialog("", "Cancel", 0, len(self.rename_list), self)
progdialog.setWindowTitle( "Renaming Archives" )
@ -150,3 +149,5 @@ class RenameWindow(QtGui.QDialog):
item['archive'].rename( new_abs_path )
progdialog.close()
QtGui.QDialog.accept(self)