From 41e471d9d524ade3ad61047b77fca3dede35d6ed Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Tue, 5 Jun 2018 03:19:58 +0300 Subject: [PATCH] - changed the self.info() functions to signal self.inform.emit() and the signal is emitted only once per operation not for each object in selection. --- FlatCAMApp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 8c58d2d2..5f0af33c 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -1526,7 +1526,7 @@ class App(QtCore.QObject): for obj in obj_list: obj.mirror('X', [px, py]) obj.plot() - self.info('Flipped on the X axis ...') + self.inform.emit('Flipped on the X axis ...') def on_flipy(self): obj_list = self.collection.get_selected() @@ -1567,7 +1567,7 @@ class App(QtCore.QObject): for obj in obj_list: obj.mirror('Y', [px, py]) obj.plot() - self.info('Flipped on the Y axis ...') + self.inform.emit('Flipped on the Y axis ...') def on_delete(self): """