diff options
author | Robin Gareus <robin@gareus.org> | 2013-08-23 21:26:02 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-08-23 21:26:02 +0200 |
commit | 9041d7bc18e97e41da4df84a350c63290825cf44 (patch) | |
tree | 24777bba05854404fd0871329892cae53206a9b9 /gtk2_ardour | |
parent | 3247c5a51c1bcd1af57d8670efa32015c94ecf4c (diff) |
don't run meter in import-dialog if the dialog is not visible
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/send_ui.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/send_ui.cc b/gtk2_ardour/send_ui.cc index 4a16c57259..1bc4e031f0 100644 --- a/gtk2_ardour/send_ui.cc +++ b/gtk2_ardour/send_ui.cc @@ -113,6 +113,10 @@ SendUI::update () void SendUI::fast_update () { + if (!is_mapped()) { + return; + } + if (Config->get_meter_falloff() > 0.0f) { _gpm.update_meters (); } |