Fixed a little issue.

Mon, 27 Sep 2010 08:09:27 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 27 Sep 2010 08:09:27 +0200
changeset 644
7c1c3abedf1c
parent 643
719db11dd4df
child 646
aa422d7436a7

Fixed a little issue.

Helpviewer/History/HistoryManager.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/History/HistoryManager.py	Sun Sep 26 20:25:09 2010 +0200
+++ b/Helpviewer/History/HistoryManager.py	Mon Sep 27 08:09:27 2010 +0200
@@ -374,6 +374,7 @@
             
             history.insert(0, itm)
             lastInsertedItem = itm
+        historyFile.close()
         
         if needToSort:
             history.sort()
@@ -463,4 +464,4 @@
         Private method to start the timer to recalculate the frequencies.
         """
         tomorrow = QDateTime(QDate.currentDate().addDays(1), QTime(3, 0))
-        self.__frequencyTimer.start(QDateTime.currentDateTime().secsTo(tomorrow) * 1000)
\ No newline at end of file
+        self.__frequencyTimer.start(QDateTime.currentDateTime().secsTo(tomorrow) * 1000)

eric ide

mercurial