summaryrefslogtreecommitdiff
path: root/plugingui/drumkitframecontent.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/drumkitframecontent.cc')
-rw-r--r--plugingui/drumkitframecontent.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugingui/drumkitframecontent.cc b/plugingui/drumkitframecontent.cc
index d58f7b4..46ea67c 100644
--- a/plugingui/drumkitframecontent.cc
+++ b/plugingui/drumkitframecontent.cc
@@ -159,6 +159,8 @@ void DrumkitframeContent::kitBrowseClick()
}
file_browser.setPath(path);
+ file_browser.fileSelectNotifier.disconnect(this);
+
CONNECT(&file_browser, fileSelectNotifier,
this, &DrumkitframeContent::selectKitFile);
file_browser.show();
@@ -178,6 +180,7 @@ void DrumkitframeContent::midimapBrowseClick()
}
file_browser.setPath(path);
+ file_browser.fileSelectNotifier.disconnect(this);
CONNECT(&file_browser, fileSelectNotifier,
this, &DrumkitframeContent::selectMapFile);
file_browser.show();