Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Refresh recipe tree upon save #350

Merged
merged 2 commits into from
Jun 26, 2021
Merged

Refresh recipe tree upon save #350

merged 2 commits into from
Jun 26, 2021

Conversation

cydanil
Copy link
Collaborator

@cydanil cydanil commented Jun 26, 2021

Description

Fix updating of the main window when a new recipe is added.
Whilst all information was saved, not all information was loaded, and displayed "broken" recipes.
One had to restart the application to be able to browse the newly added recipe.

Closes #344.

How Has This Been Tested?

  • Saving a new recipe whilst on the first page;
  • Browsing to the last page:
    • The title is updated;
    • The image is displayed;
    • The rating is correct;
  • Opening the recipe displays all information updated and correct.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@cydanil cydanil merged commit 797cafa into kirienko:master Jun 26, 2021
@cydanil cydanil deleted the fix/344 branch June 26, 2021 18:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Save when not on last screen not working correctly
1 participant