Skip to content

Commit

Permalink
#1517: fixed "Cart has changed" dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nesbox committed Jul 23, 2021
1 parent 2fa4d8d commit c9b4128
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/studio/screens/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ static void confirmCommand(Console* console, const char** text, s32 rows, Confir
else
{
CommandConfirmData data = {console, callback};
showDialog(text, rows, onConfirm, MOVE(data));
showDialog(text, rows, onConfirm, MOVE(data));
}
}

Expand Down
2 changes: 2 additions & 0 deletions src/studio/studio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1622,6 +1622,8 @@ static void reloadConfirm(bool yes, void* data)
{
if(yes)
impl.console->updateProject(impl.console);
else
updateMDate();
}

static void checkChanges()
Expand Down

0 comments on commit c9b4128

Please sign in to comment.