mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
Made the new jucer support multiple windows.
This commit is contained in:
parent
5d5aa37475
commit
d3cf0870d9
9 changed files with 449 additions and 275 deletions
|
|
@ -281,8 +281,12 @@ bool ProjectContentComponent::perform (const InvocationInfo& info)
|
|||
break;
|
||||
|
||||
case CommandIDs::closeProject:
|
||||
if (((MainWindow*) getParentComponent())->closeCurrentProject())
|
||||
StoredSettings::getInstance()->setLastProject (File::nonexistent);
|
||||
{
|
||||
MainWindow* mw = Component::findParentComponentOfClass ((MainWindow*) 0);
|
||||
|
||||
if (mw != 0)
|
||||
mw->closeCurrentProject();
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue