From e9ee37f5f7abe08c9d7038dda220ec881331d30a Mon Sep 17 00:00:00 2001 From: Sally Date: Thu, 18 Oct 2018 12:57:01 +0200 Subject: [PATCH] Aktualisierung der Zuweisung von Funktionen und Buttons --- pylot/core/util/widgets.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 46d052d0..c1932bef 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -223,10 +223,10 @@ class AddMetadataWidget(QWidget): self.main_layout.insertLayout(3, self.accept_cancel_layout) def connect_signals(self): - self.selection_button.clicked.connect(self.open_directory) - self.add_button.clicked.connect(self.add_item_from_box) + self.add_button.clicked.connect(self.add_item_from_dialog) self.remove_button.clicked.connect(self.remove_item) - self.close_button.clicked.connect(self.hide) + self.accept_button.clicked.connect(self.accept) + self.cancel_button.clicked.connect(self.hide) def from_metadata(self): """