ShipWB: unicode issue 2609 (partial fix)
patch to fix (patially) issue 2609 submitted by a.palazzi in https://forum.freecadweb.org/viewtopic.php?f=10&t=19813#p184360
This commit is contained in:
@@ -47,7 +47,7 @@ class Tank:
|
||||
ship -- Ship where the tank is allocated.
|
||||
"""
|
||||
# Add an unique property to identify the Weight instances
|
||||
tooltip = str(QtGui.QApplication.translate(
|
||||
tooltip = unicode(QtGui.QApplication.translate(
|
||||
"ship_tank",
|
||||
"True if it is a valid tank instance, False otherwise",
|
||||
None))
|
||||
|
||||
Reference in New Issue
Block a user