don't run meter in import-dialog if the dialog is not visible
authorRobin Gareus <robin@gareus.org>
Fri, 23 Aug 2013 19:26:02 +0000 (21:26 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 23 Aug 2013 19:26:02 +0000 (21:26 +0200)
gtk2_ardour/send_ui.cc

index 4a16c572595864990764795a4bdaf31ba87d9911..1bc4e031f0467c766556cc5e14ae7eda1aac56e9 100644 (file)
@@ -113,6 +113,10 @@ SendUI::update ()
 void
 SendUI::fast_update ()
 {
+       if (!is_mapped()) {
+               return;
+       }
+
        if (Config->get_meter_falloff() > 0.0f) {
                _gpm.update_meters ();
        }