-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable incompatible properties for shared database #1826
Conversation
@@ -79,6 +80,18 @@ public void setPanel(BasePanel panel) { | |||
this.metaData = panel.getBibDatabaseContext().getMetaData(); | |||
} | |||
|
|||
public void updateEnableStatus() { | |||
DatabaseLocation location = panel.getBibDatabaseContext().getLocation(); | |||
boolean isNotShared = (location != DatabaseLocation.SHARED); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name it isShared
. Reason: Negations should not be used in variable names.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
30da6e7
to
55f0543
Compare
55f0543
to
ac70cff
Compare
Noticing the new title of this PR, I am wondering if this PR affects the related help file ( http://help.jabref.org/en/DatabaseProperties ) |
LGTM 👍 |
LGTM! 👍 |
* master: Disable incompatible properties for shared database. (#1826) Allow setting the etal-string empty. Implements #1841 (#1848) fix SplitPaneChangeListener (#1840) French localization: Jabref_fr: empty strings translated (#1847) Fixes #1687 "month" field ascending/descending sorting swapped (#1837) Fix localization entry. Update German translation (#1829) entry scrolling didn't work if the entry in question was just 1 row outside the table (bottom) (<; <= mistake) fix indent when pasting an entry search the entry from the back, b/c we want to select the duplicate, not the original fix issues and delete a duplicate method when inserting a duplicate the right entry will be selected
Issue: #1703.
Depends on: #1818 and https://github.com/JabRef/help.jabref.org/pull/57