- fixed the reconnection of the mouse events when canceling setting the origin

This commit is contained in:
Marius Stanciu
2021-08-30 00:50:22 +03:00
committed by Marius
parent ba217fc103
commit 74472e61bd
2 changed files with 14 additions and 3 deletions

View File

@@ -7,13 +7,20 @@ CHANGELOG for FlatCAM beta
=================================================
28.08.2021
30.08.2021
- fixed the reconnection of the mouse events when canceling setting the origin
29.08.2021
- removed the setting for HDPI from Preferences and QSettings: QT6 does it automatically now
- fixed a reported issue with the manual cutout in Cutout Plugin where adding more gaps will crash the app due of the manual geometry being a MultiPolygon and not a Polygon as it was assumed
- fixed a reported bug in convert 2 geometry where a MultiLineString' object does not support item assignment“ error was issued
- updated the language strings and the Simplified Chinese language translation
28.08.2021
- removed the setting for HDPI from Preferences and QSettings: QT6 does it automatically now
26.08.2021
- updated the Italian translation by Massimiliano Golfetto

View File

@@ -5290,8 +5290,12 @@ class App(QtCore.QObject):
self.should_we_save = True
elif event is not None and event.button == right_button:
if self.ui.popMenu.mouse_is_panning is False:
if self.is_legacy:
self.plotcanvas.graph_event_disconnect(self.mp_zc)
else:
self.plotcanvas.graph_event_disconnect('mouse_release', self.on_set_zero_click)
self.inhibit_context_menu = False
self.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled."))
self.inhibit_context_menu = False
def on_move2origin(self, use_thread=True):
"""