Skip to content

Set auto-update checkbox enable/disable when reading preferences#4446

Merged
Siedlerchr merged 4 commits into
JabRef:masterfrom
sbeitzel:feature/4427_update_ts_pref
Nov 6, 2018
Merged

Set auto-update checkbox enable/disable when reading preferences#4446
Siedlerchr merged 4 commits into
JabRef:masterfrom
sbeitzel:feature/4427_update_ts_pref

Conversation

@sbeitzel

@sbeitzel sbeitzel commented Nov 1, 2018

Copy link
Copy Markdown
Contributor

This patch addresses issue #4427. Added a call to the existing event handler (which enables/disables the checkbox in response to user clicks) when we set the checkbox value from the preferences.


  • Change in CHANGELOG.md described
  • Tests created for changes
  • Manually tested changed features in running JabRef
  • Screenshots added in PR description (for bigger UI changes) N/A
  • Ensured that the git commit message is a good one
  • Check documentation status (Issue created for outdated help page at help.jabref.org?) N/A

…dent controls get updated.

Drive-by code cleanup -- enums are singletons; don't call enum.equals(), just use ==.
@stefan-kolb stefan-kolb added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Nov 2, 2018
Comment thread src/main/java/org/jabref/gui/preferences/GeneralTab.java Outdated
Comment thread src/main/java/org/jabref/gui/preferences/GeneralTab.java Outdated

@Siedlerchr Siedlerchr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you use javafx bindings, this should be better.
And please remove the changelog entry, as this issue was introduced with the conversion to javafx and therefore not present in the stable version

Comment thread src/main/java/org/jabref/gui/preferences/GeneralTab.java
@Siedlerchr

Copy link
Copy Markdown
Member

Behavior should be
Use timestamp checked - > update timestamp is enabled (can be checked /unchecked)
Use timestamp unchecked - > update timestamp disabled

@tobiasdiez tobiasdiez left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. @Siedlerchr is this ok for merge?

@Siedlerchr Siedlerchr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to approve the changes to the binding!

@Siedlerchr Siedlerchr merged commit 5548f8f into JabRef:master Nov 6, 2018
@sbeitzel sbeitzel deleted the feature/4427_update_ts_pref branch November 6, 2018 21:15
Siedlerchr added a commit that referenced this pull request Nov 9, 2018
* upstream/master:
  Add eprint cleanup (#4445)
  respect preference state (#4468)
  Set auto-update checkbox enable/disable when reading preferences (#4446)
  Improve MathSciNet fetcher and add ISBN fetcher to entry editor toolbar  (#4444)
  New translations JabRef_en.properties (German) (#4455)
Siedlerchr added a commit that referenced this pull request Nov 10, 2018
* upstream/master:
  Fix move to group always moves first entry (#4457)
  Add eprint cleanup (#4445)
  respect preference state (#4468)
  Set auto-update checkbox enable/disable when reading preferences (#4446)
  Improve MathSciNet fetcher and add ISBN fetcher to entry editor toolbar  (#4444)
  New translations JabRef_en.properties (German) (#4455)
Siedlerchr added a commit that referenced this pull request Nov 17, 2018
* upstream/master:
  Change location of some fields in the entry editor (#4448)
  Bump applicationinsights-core from 2.2.0 to 2.2.1 (#4488)
  Added feature to add server timezone when connecting to shared database (#4483)
  Bump applicationinsights-logging-log4j2 from 2.2.0 to 2.2.1 (#4487)
  fix save button
  Update archunit from 0.9.1 -> 0.9.2
  Fix move to group always moves first entry (#4457)
  Add eprint cleanup (#4445)
  respect preference state (#4468)
  Set auto-update checkbox enable/disable when reading preferences (#4446)
  Improve MathSciNet fetcher and add ISBN fetcher to entry editor toolbar  (#4444)
  New translations JabRef_en.properties (German) (#4455)
  New Crowdin translations (#4454)
  Fix error in l10n file: Toogle -> Toggle (#4453)
  Remove depandabot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants