- maintenance_1
This commit is contained in:
@@ -13,7 +13,7 @@ from camlib import get_bounds
|
||||
|
||||
import logging
|
||||
import gettext
|
||||
import AppTranslation as fcTranslate
|
||||
import FlatCAMTranslation as fcTranslate
|
||||
import builtins
|
||||
|
||||
fcTranslate.apply_language('strings')
|
||||
@@ -98,6 +98,6 @@ class TclCommandSetOrigin(TclCommand):
|
||||
loc = [0, 0]
|
||||
|
||||
self.app.on_set_zero_click(event=None, location=loc, noplot=True, use_thread=False)
|
||||
msg = '[success] Tcl %s: %s' % (_('Origin set by offsetting all loaded objects with '),
|
||||
'{0:.4f}, {0:.4f}'.format(loc[0], loc[1]))
|
||||
self.app.shell_message(msg, success=True, show=False)
|
||||
self.app.inform.emit('[success] Tcl %s: %s' %
|
||||
(_('Origin set by offsetting all loaded objects with '),
|
||||
'{0:.4f}, {0:.4f}'.format(loc[0], loc[1])))
|
||||
|
||||
Reference in New Issue
Block a user