1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-01 03:10:06 +00:00

Couple of introjucer fixes.

This commit is contained in:
jules 2011-10-11 14:22:18 +01:00
parent 7a91c10a81
commit 75bbd8e2b2
5 changed files with 35 additions and 1 deletions

View file

@ -107,8 +107,8 @@ void MainWindow::createProjectContentCompIfNeeded()
void MainWindow::makeVisible()
{
setVisible (true);
addToDesktop(); // (must add before restoring size so that fullscreen will work)
restoreWindowPosition();
addToDesktop();
getContentComponent()->grabKeyboardFocus();
}