set DocumentFileName to display current file name under/beside window title

This commit is contained in:
Michael Becker 2020-08-29 20:34:45 -04:00
parent b4d7df8da8
commit 1a6f6133ab
No known key found for this signature in database
GPG Key ID: 506F54899E2BFED7

View File

@ -361,9 +361,11 @@ namespace UniversalEditor.UserInterface
tmToolbox.Rows.Add(row);
}
pnlDocumentExplorer.CurrentEditor = editor;
DocumentFileName = dckContainer.CurrentItem.Name;
}
else
{
DocumentFileName = null;
tmToolbox.Rows.Clear();
}
}