Skip to content

Commit

Permalink
Fix audio bus effects not deselecting after switching focus in the ed…
Browse files Browse the repository at this point in the history
…itor
  • Loading branch information
Dashcell authored and Calinou committed Dec 12, 2023
1 parent 41365c6 commit f223567
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions editor/editor_audio_buses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ void EditorAudioBus::_notification(int p_what) {
channel[i].prev_active = activity_found;
}
}

if (effects->is_anything_selected() && !effects->has_focus()) {
effects->deselect_all();
}
} break;

case NOTIFICATION_VISIBILITY_CHANGED: {
Expand Down

0 comments on commit f223567

Please sign in to comment.