def on_send_to(self): objs = set([obj for obj in self.selected_objects if obj.object_type == "item"]) if not objs: logging.warning("No rundown item selected") return dlg = SendToDialog(self, objs) dlg.exec_()
def on_send_to(self): dlg = SendToDialog(self, self.view.selected_objects) dlg.exec_()