@@ -12,6 +12,8 @@ def __init__(self, *args, obj=None, **kwargs):
1212 self .setupUi (self )
1313
1414 self .PopulateStats ()
15+ self .PopulateTitles ()
16+ self .PopulateUpdates ()
1517
1618 self .tabWidget .currentChanged .connect (self .on_tab_changed )
1719 self .actionTheme .triggered .connect (self .ChangeTheme )
@@ -56,19 +58,19 @@ def on_tab_changed(self, index):
5658 self .PopulateUpdates ()
5759
5860 def HandleNewTitleClick (self ):
59- print ("..." )
61+ # print("...")
6062 dlg = app .NewTitleDialog ()
6163 dlg .exec ()
6264 self .PopulateTitles ()
6365
6466 def HandleNewUpdateClick (self ):
65- print ("....." )
67+ # print(".....")
6668 dlg = app .NewUpdateDialog ()
6769 dlg .exec ()
6870 self .PopulateUpdates ()
6971
7072 def HandleNewThemeChanged (self ):
71- print ("." )
73+ # print(".")
7274 pass
7375
7476 def CheckDarkTheme (self , CONFIG_FILE ):
@@ -150,7 +152,7 @@ def PopulateStats(self):
150152 def PopulateTitles (self ):
151153 self .tableWidgetTitles .clear ()
152154 titles = app .GetTitleDetails (DB )
153- print (titles )
155+ # print(titles)
154156 self .tableWidgetTitles .setColumnCount (10 )
155157 self .tableWidgetTitles .setHorizontalHeaderLabels (["T. ID" , "Name" , "Devs" , "Released" , "Status" , "Platform" , "Web Link" , "Availability" , "Comment" , "" ])
156158
@@ -242,7 +244,7 @@ def PopulateTitles(self):
242244 def PopulateUpdates (self ):
243245 self .tableWidgetUpdate .clear ()
244246 titles = app .GetUpdateDetails (DB )
245- print (titles )
247+ # print(titles)
246248 self .tableWidgetUpdate .setColumnCount (9 )
247249 self .tableWidgetUpdate .setHorizontalHeaderLabels (["U. ID" , "T. ID" , "Title" , "Version" , "Released" , "Update Status" , "Play Status" , "Comment" , "" ])
248250
@@ -307,7 +309,7 @@ def PopulateUpdates(self):
307309 self .tableWidgetUpdate .resizeRowsToContents ()
308310
309311 def edit_title (self , row ):
310- print (f"Editing row { row } " )
312+ # print(f"Editing row {row}")
311313 item = self .tableWidgetTitles .item (row , 0 )
312314 if item :
313315 row_data = item .data (Qt .ItemDataRole .UserRole )
@@ -317,7 +319,7 @@ def edit_title(self, row):
317319
318320 def delete_title (self , row ):
319321 # Implement your delete functionality here
320- print (f"Deleting row { row } " )
322+ # print(f"Deleting row {row}")
321323 # Example confirmation dialog:
322324 reply = QtWidgets .QMessageBox .question (
323325 self , 'Delete Title' ,
@@ -345,7 +347,7 @@ def delete_title(self, row):
345347 dlg .exec ()
346348
347349 def edit_update (self , row ):
348- print (f"Editing row { row } " )
350+ # print(f"Editing row {row}")
349351 item = self .tableWidgetUpdate .item (row , 0 )
350352 if item :
351353 row_data = item .data (Qt .ItemDataRole .UserRole )
@@ -355,7 +357,7 @@ def edit_update(self, row):
355357
356358 def delete_update (self , row ):
357359 # Implement your delete functionality here
358- print (f"Deleting row { row } " )
360+ # print(f"Deleting row {row}")
359361 # Example confirmation dialog:
360362 reply = QtWidgets .QMessageBox .question (
361363 self , 'Delete Update' ,
0 commit comments