Fix title / files not being reset
This commit is contained in:
@@ -188,6 +188,8 @@ class MainViewModel : BaseViewModel, IFontResolver
|
||||
if (!successfullyLoadedPriorReport)
|
||||
{
|
||||
// Scan folder for files and display in DataGrid
|
||||
ReportFiles.Clear();
|
||||
ReportTitle = "";
|
||||
var filePaths = Directory.GetFiles(_workingFolder);
|
||||
foreach (var filePath in filePaths)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user