don't run meter in import-dialog if the dialog is not visible

This commit is contained in:
Robin Gareus 2013-08-23 21:26:02 +02:00
parent 3247c5a51c
commit 9041d7bc18
1 changed files with 4 additions and 0 deletions

View 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 ();
}