mirror of
https://github.com/isledecomp/SIEdit.git
synced 2025-04-01 23:49:44 -04:00
app: properly clear screen on new file
This commit is contained in:
parent
f237d0e1ae
commit
9c97f21e43
1 changed files with 2 additions and 0 deletions
|
@ -303,6 +303,8 @@ void MainWindow::TrimOffDirectory(QString& s)
|
|||
|
||||
void MainWindow::NewFile()
|
||||
{
|
||||
tree_->clearSelection();
|
||||
SetPanel(panel_blank_, nullptr);
|
||||
model_.SetCore(nullptr);
|
||||
interleaf_.Clear();
|
||||
model_.SetCore(&interleaf_);
|
||||
|
|
Loading…
Add table
Reference in a new issue