Update for changed button name
This commit is contained in:
parent
e9ee37f5f7
commit
2e2924efa1
2
PyLoT.py
2
PyLoT.py
@ -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'):
|
||||||
|
Loading…
Reference in New Issue
Block a user