Update for changed button name

This commit is contained in:
Sally 2018-10-18 13:02:09 +02:00
parent e9ee37f5f7
commit 2e2924efa1

View File

@ -3200,7 +3200,7 @@ class MainWindow(QMainWindow):
def add_metadata(self): def add_metadata(self):
self.add_metadata_widget = AddMetadataWidget(self, metadata=self.metadata) self.add_metadata_widget = AddMetadataWidget(self, metadata=self.metadata)
self.add_metadata_widget.close_button.clicked.connect(self.set_metadata) self.add_metadata_widget.accept_button.clicked.connect(self.set_metadata)
def init_metadata(self, new=False, ask_default=True): def init_metadata(self, new=False, ask_default=True):
if hasattr(self.project, 'inventories'): if hasattr(self.project, 'inventories'):