- fixed an issue regarding the statusbar pixmap selection

This commit is contained in:
Marius 2020-04-24 08:37:47 +03:00
parent 527dcf6270
commit 3b8b4254b9
3 changed files with 4 additions and 3 deletions

View File

@ -15,6 +15,7 @@ CHANGELOG for FlatCAM beta
- the status bar messages that are echoed in the Tcl Shell will no longer have all text colored but only the identifier
- some message strings cleanup
- added possibility to save as text file the content in Tcl Shell browser window when clicking the Save log context menu entry
- fixed an issue regarding the statusbar pixmap selection
23.04.2020

View File

@ -3706,7 +3706,7 @@ class App(QtCore.QObject):
"""
# Type of message in brackets at the beginning of the message.
match = re.search("\[([^\]]+)\](.*)", msg)
match = re.search(r"\[(.*)\](.*)", msg)
if match:
level = match.group(1)
msg_ = match.group(2)

View File

@ -289,7 +289,7 @@ class TclCommand(object):
# self.worker_task.emit({'fcn': self.exec_command_test, 'params': [text, False]})
try:
self.log.debug("TCL command '%s' executed." % str(self.__class__))
self.log.debug("TCL command '%s' executed." % str(type(self).__name__))
self.original_args = args
args, unnamed_args = self.check_args(args)
return self.execute(args, unnamed_args)
@ -405,7 +405,7 @@ class TclCommandSignaled(TclCommand):
"'set_sys global_background_timeout <miliseconds>'.")
try:
self.log.debug("TCL command '%s' executed." % str(self.__class__))
self.log.debug("TCL command '%s' executed." % str(type(self).__name__))
self.original_args = args
args, unnamed_args = self.check_args(args)
if 'timeout' in args: