Skip to content

Commit

Permalink
fix RunRequirements could not be saved
Browse files Browse the repository at this point in the history
The problem was that before this fix the call to super.commit(onSave); has reset the dirty flag from true back to false, which was the reason why commitToModel(onSave); did not work, because it checks for dirty==true

Signed-off-by: Christoph Rueger <[email protected]>
  • Loading branch information
chrisrueger committed Jan 29, 2025
1 parent 03373ec commit 30b0b81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ public final void refresh() {
@Override
public final void commit(boolean onSave) {
committing.compareAndSet(false, true);
super.commit(onSave);
commitToModel(onSave);
super.commit(onSave);
committing.compareAndSet(true, false);
}

Expand Down

0 comments on commit 30b0b81

Please sign in to comment.