Remove unnecessary third argument from translate() calls
This commit is contained in:
@@ -200,7 +200,7 @@ def GetNewToolFile(parent=None):
|
||||
if foo and foo[0]:
|
||||
if not isValidFileName(foo[0]):
|
||||
msgBox = QtGui.QMessageBox()
|
||||
msg = translate("Path", "Invalid Filename", None)
|
||||
msg = translate("Path", "Invalid Filename")
|
||||
msgBox.setText(msg)
|
||||
msgBox.exec_()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user