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

buttonBoxClicked function causes error when ui is not set tu english #2

Open
thbaumann opened this issue Jun 14, 2018 · 0 comments
Open

Comments

@thbaumann
Copy link

The buttonBoxClicked-function causes an error when using a ui in a different language than english.
The function checks if the name of the buttons are "Apply" or "Reset" but if the ui of QGIS is not set to english these buttons won't habe a button-text "Apply" or "Reset" as you can see in the following screenshot:

quickdraw

So on the on hand the functions like self.draw() or self.resetText() will just not be called or if the button-text contains special caracters as shown in the screenshot you this will cause an unicode encode error.

thbaumann added a commit to thbaumann/qgis-quick-draw that referenced this issue Jun 14, 2018
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

No branches or pull requests

1 participant