diff options
-rwxr-xr-x | mgaapplet | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -690,9 +690,7 @@ sub setState { my @invisible_states = qw(delayed okay disconnected locked); # do not show icon while checking if previously hidden: - if (member($state, @invisible_states) - or $state eq 'busy' && member($previous_state, @invisible_states)) - { + if (!$::testing && (member($state, @invisible_states) or $state eq 'busy' && member($previous_state, @invisible_states))) { $is_plasma ? $icon->set_status('STATUS_NOTIFIER_STATUS_PASSIVE') : $icon->set_visible(0); } else { |