- fixed an issue within the version checking (inherited from FlatCAM)
This commit is contained in:
@@ -12,6 +12,7 @@ CHANGELOG for FlatCAM beta
|
|||||||
- fixed some recently introduced issues for the Milling and Drilling Plugins; those plugins did not had the pluginName defined in the Plugin UI
|
- fixed some recently introduced issues for the Milling and Drilling Plugins; those plugins did not had the pluginName defined in the Plugin UI
|
||||||
- in the canvas context menu added the menu for color changing
|
- in the canvas context menu added the menu for color changing
|
||||||
- when doing color changing now only Gerber and Excellon objects can have the colors changed
|
- when doing color changing now only Gerber and Excellon objects can have the colors changed
|
||||||
|
- fixed an issue within the version checking (inherited from FlatCAM)
|
||||||
|
|
||||||
8.10.2021
|
8.10.2021
|
||||||
|
|
||||||
|
|||||||
11
app_Main.py
11
app_Main.py
@@ -1389,7 +1389,8 @@ class App(QtCore.QObject):
|
|||||||
|
|
||||||
# signal to be called when the app is quiting
|
# signal to be called when the app is quiting
|
||||||
self.app_quit.connect(self.quit_application, type=Qt.ConnectionType.QueuedConnection)
|
self.app_quit.connect(self.quit_application, type=Qt.ConnectionType.QueuedConnection)
|
||||||
self.message.connect(lambda: message_dialog(parent=self.ui))
|
self.message.connect(
|
||||||
|
lambda title, msg, kind: message_dialog(title=title, message=msg, kind=kind, parent=self.ui))
|
||||||
# self.progress.connect(self.set_progress_bar)
|
# self.progress.connect(self.set_progress_bar)
|
||||||
|
|
||||||
# signals emitted when file state change
|
# signals emitted when file state change
|
||||||
@@ -8526,15 +8527,13 @@ class App(QtCore.QObject):
|
|||||||
return
|
return
|
||||||
|
|
||||||
self.log.debug("Newer version available.")
|
self.log.debug("Newer version available.")
|
||||||
self.message.emit(
|
title = _("Newer Version Available")
|
||||||
_("Newer Version Available"),
|
msg = '%s<br><br>><b>%s</b><br>%s' % (
|
||||||
'%s<br><br>><b>%s</b><br>%s' % (
|
|
||||||
_("There is a newer version of FlatCAM available for download:"),
|
_("There is a newer version of FlatCAM available for download:"),
|
||||||
str(data["name"]),
|
str(data["name"]),
|
||||||
str(data["message"])
|
str(data["message"])
|
||||||
),
|
|
||||||
_("info")
|
|
||||||
)
|
)
|
||||||
|
self.message.emit(title, msg, "info")
|
||||||
|
|
||||||
def on_plotcanvas_setup(self, container=None):
|
def on_plotcanvas_setup(self, container=None):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user