Skip to content

Commit

Permalink
Final fix of Path - message during startup (#43)
Browse files Browse the repository at this point in the history
 [Path] Fix python style for initial message
(now recognized by updatets.py script)
  • Loading branch information
Kuzma30 authored May 8, 2022
1 parent 30b0efe commit e56d7d0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Mod/Path/InitGui.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,8 @@ def Initialize(self):

msg = translate(
"Path",
"The currently selected unit schema: \n '{}'\n Does not use 'minutes' for velocity values. \n \nCNC machines require feed rate to be expressed in \nunit/minute. To ensure correct gcode: \nSelect a minute-based schema in preferences.\nFor example:\n 'Metric, Small Parts & CNC'\n 'US Customary'\n 'Imperial Decimal'".format(
current_schema
),
)
"The currently selected unit schema: \n '{}'\n Does not use 'minutes' for velocity values. \n \nCNC machines require feed rate to be expressed in \nunit/minute. To ensure correct gcode: \nSelect a minute-based schema in preferences.\nFor example:\n 'Metric, Small Parts & CNC'\n 'US Customary'\n 'Imperial Decimal'"
).format(current_schema)
header = translate("Path", "Warning")
msgbox = QtGui.QMessageBox(QtGui.QMessageBox.Warning, header, msg)

Expand Down

0 comments on commit e56d7d0

Please # to comment.