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

remember paper size and orientation on PDF export dialog during session #298

Closed
wants to merge 3 commits into from
Closed

remember paper size and orientation on PDF export dialog during session #298

wants to merge 3 commits into from

Conversation

dbelyaev
Copy link
Collaborator

@dbelyaev dbelyaev commented Mar 9, 2016

During working session (from starting application and closing it down) every time call to "Export to PDF" will show dialog window with changes done last time it was executed (orientation and paper size will be the same as in previous execution).

Dmitriy Belyaev added 2 commits March 9, 2016 23:02
ExportPdfDialog instance will be created only once during working session, it will give oss behaviour when last used settings will be shown on next execution of dialog
@dbelyaev
Copy link
Collaborator Author

dbelyaev commented Mar 9, 2016

it implements functionality requested in issue #217

… feature/remember-paper-size-pdf-export

# Conflicts:
#	app/mainwindow.cpp
#	app/mainwindow.h
@cloose
Copy link
Owner

cloose commented Mar 28, 2016

Hi @dbelyaev,

Thank you as always! But I guess #217 asks for a more permanent solution. I mean CuteMarkEd should remember the setup across application launches.

My idea was to store and retrieve the settings from the Option class. Or since this class is getting rather big already, maybe we should introduce a separate export to pdf option class.

The ExportPdfDialog would then use this option class to read or store the settings on open and close.

What do you think?

Christian

@cloose cloose added this to the v0.12.0 milestone Mar 28, 2016
@cloose cloose self-assigned this Mar 28, 2016
@dbelyaev
Copy link
Collaborator Author

I am closing this pull request because functionality (save\load paper size&orientation between sessions as @cloose suggested) is implemented in PR #330, making this PR obsolete.

@dbelyaev dbelyaev closed this Aug 31, 2016
@dbelyaev dbelyaev deleted the feature/remember-paper-size-pdf-export branch August 31, 2016 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants