Skip to content
Snippets Groups Projects
Commit 1946036e authored by Sudeep Kanav's avatar Sudeep Kanav
Browse files

added a check in the function "updating" to see if the constraint is being updated.

refs 3329
parent c3ca10cd
No related branches found
No related tags found
No related merge requests found
ActionService.java bba3d40df33a07a9d30bc6b5945a9087940af057 GREEN
AllocationEditPartFactoryService.java 8d176411639e01c15a65650747ec231ed7281777 GREEN
ConstraintLabelDecorator.java 6dd2665a86800777cc7c17807fddb68dadf73df5 GREEN
ConstraintUIService.java dde08f7c2c19e948e397bb9cd3242d4735226ca2 GREEN
ConstraintUIService.java 00814f0cf3963e40b25ab550c31404e9d023d709 YELLOW
ContextMenuService.java f0168796a57fcebfb6124705c5a865516f0cb4c6 GREEN
EditPartFactoryService.java e3bc1a44761a2f444441233c61a67fdf0cc3f59d GREEN
MarkerService.java 04e3960acd4af5d1d41c2a4a2abd74a91441fe76 GREEN
......
......@@ -390,8 +390,8 @@ public final class ConstraintUIService implements IConstraintUIService, IIntrosp
for(ConstraintInstance ci : cis) {
// No need to check if it turns out the status is already known from a previous
// activation.
if(!IConstraintService.getInstance().isUpToDate(ci) ||
ci.getStatus() instanceof OutdatedConstraintInstanceStatus) {
if(!IConstraintService.getInstance().isUpdating(ci) &&
(!IConstraintService.getInstance().isUpToDate(ci) || ci.getStatus() instanceof OutdatedConstraintInstanceStatus)) {
getConstraintUI(ci).onOutdate(ci);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment