mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-01 03:10:06 +00:00
New jucer fix.
This commit is contained in:
parent
09ad7f2788
commit
c8b977a482
2 changed files with 3 additions and 2 deletions
|
|
@ -424,9 +424,10 @@ public:
|
|||
StoredSettings::getInstance()->setLastProjects (projects);
|
||||
}
|
||||
|
||||
ScopedPointer<MainMenuModel> menuModel;
|
||||
|
||||
private:
|
||||
OwnedArray <MainWindow> mainWindows;
|
||||
ScopedPointer<MainMenuModel> menuModel;
|
||||
|
||||
MainWindow* createNewMainWindow (bool makeVisible)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ MainWindow::MainWindow()
|
|||
|
||||
#if ! JUCE_MAC
|
||||
JucerApplication* app = static_cast<JucerApplication*> (JUCEApplication::getInstance());
|
||||
setMenuBar (app);
|
||||
setMenuBar (app->menuModel);
|
||||
#endif
|
||||
|
||||
setResizable (true, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue