Skip to content

Commit

Permalink
add hotfix: select log file does not work (got expection)
Browse files Browse the repository at this point in the history
  • Loading branch information
Schecher1 committed Mar 24, 2023
1 parent 26364a7 commit 5b49481
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Views/LogView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ private void RefreshBoard()
//TODO: IMPROVE Loading time

int index = Comb_Logs.SelectedIndex;

string combText = Comb_Logs.SelectedItem.ToString() ?? "";

Task.Run(() =>
{
List<LogModel> logs = new List<LogModel>();
Expand All @@ -162,7 +163,7 @@ private void RefreshBoard()
break;
default:
logs = LoggerSystem.GetLogs(Comb_Logs.SelectedItem.ToString());
logs = LoggerSystem.GetLogs(combText);
break;
}
Expand Down

0 comments on commit 5b49481

Please sign in to comment.