Browse Source

Projucer: Fixed a bug where the file name label would still be visible after closing a project

tags/2021-05-28
ed 8 years ago
parent
commit
dab7f9e020
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      extras/Projucer/Source/Project/jucer_ProjectContentComponent.cpp

+ 4
- 0
extras/Projucer/Source/Project/jucer_ProjectContentComponent.cpp View File

@@ -510,6 +510,10 @@ void ProjectContentComponent::hideEditor()
{ {
currentDocument = nullptr; currentDocument = nullptr;
contentView = nullptr; contentView = nullptr;
if (fileNameLabel != nullptr)
fileNameLabel->setVisible (false);
ProjucerApplication::getCommandManager().commandStatusChanged(); ProjucerApplication::getCommandManager().commandStatusChanged();
resized(); resized();
} }


Loading…
Cancel
Save