Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Update
uranium-lulzbot
fix_qt5.12.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_qt5.12.patch of Package uranium-lulzbot
diff --git a/UM/Qt/Bindings/i18nCatalogProxy.py b/UM/Qt/Bindings/i18nCatalogProxy.py index 7e2bb16c..cec70dd6 100644 --- a/UM/Qt/Bindings/i18nCatalogProxy.py +++ b/UM/Qt/Bindings/i18nCatalogProxy.py @@ -86,9 +86,9 @@ class i18nCatalogProxy(QObject): # [CodeStyle: Ultimaker code style requires cla # \todo Move this to a more generic place so more things can use it. def _wrapFunction(self, engine, this_object, function): # JavaScript code that wraps the Python method call in a closure - wrap_js = """function(this_object) {{ + wrap_js = """(function(this_object) {{ return function({args}) {{ return this_object.{function}({args}) }} - }}""" + }})""" # Get the function name and argument list. function_name = function.__name__
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor