remove UnicodeUTF8

This commit is contained in:
wmayer
2016-12-27 18:56:30 +01:00
parent c20593a4f6
commit 0cf588b4c7
23 changed files with 139 additions and 268 deletions

View File

@@ -41,8 +41,7 @@ def load():
"ship_console",
"A ship instance must be selected before using this tool (no"
" objects selected)",
None,
QtGui.QApplication.UnicodeUTF8)
None)
App.Console.PrintError(msg + '\n')
return
for i in range(len(selObjs)):
@@ -58,8 +57,7 @@ def load():
"ship_console",
"More than one ship have been selected (the extra"
" ships will be ignored)",
None,
QtGui.QApplication.UnicodeUTF8)
None)
App.Console.PrintWarning(msg + '\n')
break
ship = obj
@@ -69,9 +67,8 @@ def load():
"ship_console",
"A ship instance must be selected before using this tool (no"
" valid ship found at the selected objects)",
None,
QtGui.QApplication.UnicodeUTF8)
None)
App.Console.PrintError(msg + '\n')
return
Tools.createLoadCondition(ship)
Tools.createLoadCondition(ship)