summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_ui.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-11-28 00:01:50 +0100
committerRobin Gareus <robin@gareus.org>2018-11-28 00:01:50 +0100
commitf150f6c074e09e99531f8e82c5972fa49e302374 (patch)
treed78c5dfd2a63826b8ef274ec6336699f552bcdf8 /gtk2_ardour/sfdb_ui.cc
parent415721fa5b48f3c3dc164ac60095c095c4e48ad0 (diff)
Use central method to check for engine where required
These are generally places where tracks/busses are created or port connections change.
Diffstat (limited to 'gtk2_ardour/sfdb_ui.cc')
-rw-r--r--gtk2_ardour/sfdb_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc
index 2c4d5b4db6..9e473e3cc7 100644
--- a/gtk2_ardour/sfdb_ui.cc
+++ b/gtk2_ardour/sfdb_ui.cc
@@ -2057,7 +2057,7 @@ SoundFileOmega::do_something (int action)
{
SoundFileBrowser::do_something (action);
- if (action == RESPONSE_CLOSE) {
+ if (action == RESPONSE_CLOSE || ARDOUR_UI_UTILS::no_engine_notify ()) {
hide ();
return;
}