diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-02-18 11:43:14 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-02-18 11:43:14 +0100 |
commit | 3515fe8b970bd7cd849ea44e24bc01331e894314 (patch) | |
tree | 9384c61486ca0811c1542b4540ea180cb1e54af2 /plugingui/drumkitframecontent.cc | |
parent | 8a04ec4b278b8d2379673e038c4bb072432e261b (diff) |
Remove double-triggered filebrowser notifier (fix crash on midimap load after drumkit load).
Diffstat (limited to 'plugingui/drumkitframecontent.cc')
-rw-r--r-- | plugingui/drumkitframecontent.cc | 3 |
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(); |