diff -r 719db11dd4df -r 7c1c3abedf1c Helpviewer/History/HistoryManager.py --- 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)