Skip to content
Snippets Groups Projects
Commit 3889f016 authored by Michael Leuschel's avatar Michael Leuschel
Browse files

remove unused check

the problem is caught and reported
somewhere else
parent 0a854b6d
No related branches found
No related tags found
No related merge requests found
......@@ -39,14 +39,8 @@ public class CustomPreconditionDialogHandler extends AbstractHandler implements
if (op == null)
return null;
try {
int hisSize = Animator.getAnimator().getHistory().size();
System.out.println("History Size = " + hisSize);
ExecuteOperationCommand
.executeOperation(Animator.getAnimator(), op);
// TODO: provide feedback when we cannot execute operation
if (Animator.getAnimator().getHistory().size() <= hisSize) {
Logger.notifyUser("Could not execute event "+ filtered.get(0).getName() + " with the additional predicate provided!");
}
} catch (ProBException e) {
e.notifyUserOnce();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment