Skip to content
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

Changed default status of 'Automatically open folder of attached files' #10748

Merged
merged 9 commits into from
Jan 9, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public ExternalTabViewModel(DialogService dialogService, PreferencesService pref
@Override
public void setValues() {
eMailReferenceSubjectProperty.setValue(initialExternalApplicationPreferences.getEmailSubject());
autoOpenAttachedFoldersProperty.setValue(initialExternalApplicationPreferences.shouldAutoOpenEmailAttachmentsFolder());
autoOpenAttachedFoldersProperty.setValue(!initialExternalApplicationPreferences.shouldAutoOpenEmailAttachmentsFolder());
Copy link
Member

Choose a reason for hiding this comment

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

this does not make sense. Whenever the user checks the checkbox, it will not be opened?

You just need to adjust it in the JabRefPreferences itself, change defaults value for the property

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for your feedback. I have taken it into consideration and made some changes, which I already pushed. I hope the new solution will be better.


pushToApplicationsListProperty.setValue(
FXCollections.observableArrayList(PushToApplications.getAllApplications(dialogService, preferences)));
Expand Down
Loading