Minor: Fixed return value
authorHarishankar <v.harishankar@gmail.com>
Thu, 2 Dec 2010 06:13:13 +0000 (11:43 +0530)
committerHarishankar <v.harishankar@gmail.com>
Thu, 2 Dec 2010 06:13:13 +0000 (11:43 +0530)
Fixed return value in repopulate_articles

main_window.py

index 8963536..799fdf8 100644 (file)
@@ -49,6 +49,7 @@ class MainWindow (PyQt4.QtGui.QMainWindow, ui_main_window.Ui_MainWindow):
                        qrow = PyQt4.QtGui.QTreeWidgetItem ([str(item[0]), str(item[1])])
                        self.articles.addTopLevelItem (qrow)
                # return true when successful
+               return True
 
        # when the view is refreshed
        def onViewRefresh (self):