- some GUI changes in Milling Plugin
- fixed the multiple selection in the Project Tab collection list; now only a single selection will trigger the signal 'proj_selection_changed' - when Milling Plugin is opened, selecting an Excelon object will set the GUI to Excellon Target
This commit is contained in:
@@ -1001,7 +1001,10 @@ class ObjectCollection(QtCore.QAbstractItemModel):
|
||||
except RuntimeError:
|
||||
pass
|
||||
|
||||
self.app.proj_selection_changed.emit(current, previous)
|
||||
# don't emit the signal if there more than one objects selected
|
||||
# this signal is intended to be emitted for a single selection in the collection view
|
||||
if len(self.get_selected()) == 1:
|
||||
self.app.proj_selection_changed.emit(current, previous)
|
||||
|
||||
def on_item_activated(self, index):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user