File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
steamCloudSaveDownloaderGUI Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,14 @@ def connect_signals(self):
44
44
self .menu_bar .download_action .row_updated_signal .connect (self .table_widget .on_app_id_change )
45
45
self .menu_bar .download_action .download_started_signal .connect (self .table_widget .download_started )
46
46
self .menu_bar .download_action .download_complete_signal .connect (self .system_tray .download_complete )
47
+ self .menu_bar .download_action .download_complete_signal .connect (self .table_widget .download_complete )
47
48
48
49
self .menu_bar .quit_action .quit_signal .connect (self .formal_quit )
49
50
50
51
self .menu_bar .downloader_timer .row_updated_signal .connect (self .table_widget .on_app_id_change )
51
52
self .menu_bar .downloader_timer .download_started_signal .connect (self .table_widget .download_started )
52
53
self .menu_bar .downloader_timer .download_complete_signal .connect (self .system_tray .download_complete )
54
+ self .menu_bar .downloader_timer .download_complete_signal .connect (self .table_widget .download_complete )
53
55
54
56
self .system_tray .activated .connect (self .system_tray_activated )
55
57
self .system_tray .show_signal .connect (self .show )
Original file line number Diff line number Diff line change @@ -540,6 +540,13 @@ def on_header_download_notify(self, p_int: int):
540
540
def download_started (self ):
541
541
self .table_model .update_last_played ()
542
542
543
+ @QtCore .Slot ()
544
+ def download_complete (self ):
545
+ db_data = data_provider .load_existing_from_db ()
546
+ if len (db_data ) > len (self .table_model .raw_list ):
547
+ logger .debug ("New games in DB. Reload table." )
548
+ self .table_model .update_data (db_data )
549
+
543
550
@QtCore .Slot (list )
544
551
def refresh (self ):
545
552
# Refresh
You can’t perform that action at this time.
0 commit comments