Properly reset active url count when checking stops.

This commit is contained in:
Bastian Kleineidam 2011-08-04 20:32:15 +02:00
parent f92b6e4620
commit 5c8dda3cd6
2 changed files with 6 additions and 4 deletions

View file

@ -19,6 +19,8 @@ Fixes:
Closes: SF bug #3346972
- checking: Send all domain-matching cookies that apply.
Closes: SF bug #3375899
- gui: Properly reset active URL count checking stops.
Closes: SF bug #3311270
Changes:
- gui: Default to last URL checked in GUI (if no URL is given as

View file

@ -236,16 +236,16 @@ class LinkCheckerMain (QtGui.QMainWindow, Ui_MainWindow):
self.treeView.setSortingEnabled(True)
self.treeView.scrollToTop()
self.movie.stop()
# Reset progress information.
self.label_active.setText(u"0")
self.label_queued.setText(u"0")
self.label_checked.setText(u"0")
self.label_busy.hide()
self.menubar.setEnabled(True)
self.urlinput.setEnabled(True)
elif status == Status.checking:
self.treeView.setSortingEnabled(False)
self.debug.reset()
# Reset progress information.
self.label_active.setText(u"0")
self.label_queued.setText(u"0")
self.label_checked.setText(u"0")
self.set_statusmsg(u"Checking site...")
# disable commands
self.menubar.setEnabled(False)