Skip to content

Commit

Permalink
Fix example opening from the example dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreSi committed May 15, 2024
1 parent f8bd3fc commit 9b45e43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion newIDE/app/src/MainFrame/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3371,6 +3371,8 @@ const MainFrame = (props: Props) => {
}}
/>
)}
{// Render example or game template dialogs before NewProjectSetupDialog to make sure it's always displayed on top
renderExampleOrGameTemplateDialogs()}
{newProjectSetupDialogOpen && (
<NewProjectSetupDialog
authenticatedUser={authenticatedUser}
Expand Down Expand Up @@ -3460,7 +3462,6 @@ const MainFrame = (props: Props) => {
{renderResourceMoverDialog()}
{renderResourceFetcherDialog()}
{renderVersionHistoryPanel()}
{renderExampleOrGameTemplateDialogs()}
<CloseConfirmDialog
shouldPrompt={!!state.currentProject}
i18n={props.i18n}
Expand Down

0 comments on commit 9b45e43

Please sign in to comment.