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

fix: error selecting printer #156

Merged
merged 3 commits into from
Jun 11, 2024
Merged

fix: error selecting printer #156

merged 3 commits into from
Jun 11, 2024

Conversation

LoneGit
Copy link
Contributor

@LoneGit LoneGit commented Jun 4, 2024

No description provided.

@LoneGit LoneGit requested a review from lvjonok June 4, 2024 23:43
@@ -206,7 +206,9 @@ def create_printer(self):
save_settings()

# update label with printer path
self.view.printer_path_edit.setText(os.path.basename(printer_path))
self.view.setts._SettingsWidget__elements["printer_path"]["edit"].setText(
Copy link
Member

Choose a reason for hiding this comment

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

A suggested way to access is: self.view.setts.edit('printer_path')

@@ -245,7 +247,9 @@ def choose_printer_path(self):
save_settings()

# update label with printer path
self.view.printer_path_edit.setText(os.path.basename(printer_path))
self.view.setts._SettingsWidget__elements["printer_path"]["edit"].setText(
Copy link
Member

Choose a reason for hiding this comment

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

A suggested way to access is: self.view.setts.edit('printer_path')

@lvjonok lvjonok merged commit 5c0cf2f into master Jun 11, 2024
1 check passed
@lvjonok lvjonok deleted the fix/error-selecting-printer branch October 13, 2024 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants