mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +00:00
Introjucer: minor internal changes.
This commit is contained in:
parent
7a1c8f61a5
commit
9e3cd767aa
8 changed files with 21 additions and 3 deletions
|
|
@ -232,7 +232,8 @@ void ProjectContentComponent::updateMissingFileStatuses()
|
|||
|
||||
bool ProjectContentComponent::showEditorForFile (const File& f)
|
||||
{
|
||||
return showDocument (JucerApplication::getApp()->openDocumentManager.openFile (project, f));
|
||||
return getCurrentFile() == f
|
||||
|| showDocument (JucerApplication::getApp()->openDocumentManager.openFile (project, f));
|
||||
}
|
||||
|
||||
bool ProjectContentComponent::showDocument (OpenDocumentManager::Document* doc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue