File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Universal THCRAP Launcher Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -727,6 +727,7 @@ public void PopulateGames()
727
727
FilterByExeType ( ) ;
728
728
729
729
if ( gameListBox . SelectedIndex == - 1 && gameListBox . Items . Count > 0 ) gameListBox . SelectedIndex = 0 ;
730
+ LogListBoxes ( ) ;
730
731
}
731
732
732
733
private void GetPatchList ( )
@@ -788,6 +789,7 @@ public void PopulatePatchList()
788
789
if ( bool . Parse ( Configuration1 . OnlyFavorites [ 0 ] ) ) FilterByFav ( patchListBox ) ;
789
790
790
791
if ( patchListBox . SelectedIndex == - 1 && patchListBox . Items . Count > 0 ) patchListBox . SelectedIndex = 0 ;
792
+ LogListBoxes ( ) ;
791
793
}
792
794
private void UpdateSplitContainerReleatedGUI ( )
793
795
{
@@ -1210,6 +1212,19 @@ private void DownloadCurrentLanguage()
1210
1212
log . WriteLine ( $ "Couldn't connect to GitHub for language update.\n Reason: { ex } ") ;
1211
1213
}
1212
1214
}
1215
+
1216
+ private void LogListBoxes ( )
1217
+ {
1218
+ log . WriteLine ( $ "Selected Indices: { patchListBox . SelectedIndex } | { gameListBox . SelectedIndex } ") ;
1219
+ log . WriteLine ( $ "Listboxes:") ;
1220
+ log . Write ( "\t Patches: " ) ;
1221
+ foreach ( var item in patchListBox . Items )
1222
+ log . Write ( $ "{ item } , ") ;
1223
+ log . Write ( "\n \t Games: " ) ;
1224
+ foreach ( var item in gameListBox . Items )
1225
+ log . Write ( $ "{ item } , ") ;
1226
+ log . Write ( "\n " ) ;
1227
+ }
1213
1228
/// <summary>
1214
1229
/// Logs the current configuration to the console and log file
1215
1230
/// </summary>
You can’t perform that action at this time.
0 commit comments