Skip to content

Commit

Permalink
fix: Reload and update schemas - saves the last changes
Browse files Browse the repository at this point in the history
By using the "Reload and update schemas" button the saving function it's working saving all the changes done to the project.

ING-4307
Closes #956
  • Loading branch information
emanuelaepure10 committed Jun 14, 2024
1 parent da8f21d commit c80f621
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,9 @@ public void run() {
}

String projectName = getProjectInfo().getName();
String title = appTitle + " - " + ((projectName == null || projectName.isEmpty())
? "Unnamed" : projectName);
String title = appTitle + " - "
+ ((projectName == null || projectName.isEmpty()) ? "Unnamed"
: projectName);
if (projectFile == null) {
// TODO Use scheme to discover plugin that can provide title
// information
Expand Down Expand Up @@ -884,8 +885,8 @@ public void run() {

@Override
public void update() {
// no change check as this is done by clean before a new project is
// loaded
// check if there are changes, as you are about to load the same project
changeCheck();

URI currentLocation = null;
synchronized (this) {
Expand Down

0 comments on commit c80f621

Please sign in to comment.