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:
luzpaz
2017-07-29 17:38:30 -04:00
parent 0544934070
commit 7f4d089715
3 changed files with 14 additions and 14 deletions

View File

@@ -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))