def _edit_sample_button_fired(self): se = SampleEntry(db=self.manager.db) sam = self.selected_samples se.edit_sample(sam.name, self.selected_projects, sam.material)
def _add_sample_button_fired(self): sam = SampleEntry(db=self.manager.db) sam.add_sample(self.selected_projects)