- 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.
This commit is contained in:
Marius Stanciu 2018-06-05 03:19:58 +03:00
parent e5dab6f9c3
commit 41e471d9d5
1 changed files with 2 additions and 2 deletions

View File

@ -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):
"""