-
Notifications
You must be signed in to change notification settings - Fork 221
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
gui/func: Add a 'delete after conversion' button (closes #458) #488
Conversation
fix typo
kindlecomicconverter/KCC_gui.py
Outdated
@@ -294,6 +294,10 @@ def run(self): | |||
options.maximizestrips = True | |||
if GUI.disableProcessingBox.isChecked(): | |||
options.noprocessing = True | |||
if GUI.deleteBox.checkState() == 1: | |||
options.delete = 2 |
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.
I'm not sure this part. options.delete = 2
and so on.
Thanks for your PR. You do not need a tristate in your case and can use
instead I'll try to do the modification when I find some time. |
@darodi Thank you for code reviewing and merging. This was my first experience committing to open-source. I appreciate collaborating with you. |
* gui/func: add delete button (closes ciromattia#458) * Update KCC_ui.py fix typo * GUI delete option checkBox --------- Co-authored-by: darodi <4682830+darodi@users.noreply.github.com> (cherry picked from commit 17206dd)
added 'Delete after conversion' button.
I think the button works but in the full scenario, I'm not sure.
I just imitated other button objects like
self.croppingBox
.So please check the code before merging.