This is an automated email from the git hooks/post-receive script. New commit to branch feature/sync in repository jtimer. See https://gitlab.nuiton.org/chorem/jtimer.git commit 8720f1d5bf2abb245d64ac36abcc94025cabe1e1 Author: servantie <servantie.c@gmail.com> Date: Fri Jun 10 10:18:24 2016 +0200 disables send sync button when sync has been done once --- src/main/java/org/chorem/jtimer/ui/report/TimerTaskUpdaterView.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/chorem/jtimer/ui/report/TimerTaskUpdaterView.java b/src/main/java/org/chorem/jtimer/ui/report/TimerTaskUpdaterView.java index 6fdc404..5f46583 100644 --- a/src/main/java/org/chorem/jtimer/ui/report/TimerTaskUpdaterView.java +++ b/src/main/java/org/chorem/jtimer/ui/report/TimerTaskUpdaterView.java @@ -483,7 +483,10 @@ public class TimerTaskUpdaterView extends FrameView implements DocumentListener String title = getResourceMap().getString("action.updateErrorTitle"); errorBox(message, title); } + //advise that it's done, to grey-out the send sync button + boolean oldValue = canUpdate; canUpdate = false; + firePropertyChange("updatingEnabled", oldValue, canUpdate); } /** -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.