- minor changes

This commit is contained in:
Marius Stanciu 2020-01-15 03:02:45 +02:00 committed by Marius
parent 821014f719
commit 9a9b6908bc

View File

@ -141,7 +141,7 @@ class App(QtCore.QObject):
# ################## Version and VERSION DATE ############################## # ################## Version and VERSION DATE ##############################
# ########################################################################## # ##########################################################################
version = 8.992 version = 8.992
version_date = "2020/01/02" version_date = "2020/01/20"
beta = True beta = True
engine = '3D' engine = '3D'
@ -7202,15 +7202,13 @@ class App(QtCore.QObject):
obj.options['ymin'] = b obj.options['ymin'] = b
obj.options['xmax'] = c obj.options['xmax'] = c
obj.options['ymax'] = d obj.options['ymax'] = d
self.inform.emit('[success] %s...' % self.inform.emit('[success] %s...' % _('Origin set'))
_('Origin set'))
if noplot_sig is False: if noplot_sig is False:
self.replot_signal.emit([]) self.replot_signal.emit([])
if location is not None: if location is not None:
if len(location) != 2: if len(location) != 2:
self.inform.emit('[ERROR_NOTCL] %s...' % self.inform.emit('[ERROR_NOTCL] %s...' % _("Origin coordinates specified but incomplete."))
_("Origin coordinates specified but incomplete."))
return 'fail' return 'fail'
x, y = location x, y = location