From 879579475d2cbd4271aeea20cf5e9a0459d9c1d6 Mon Sep 17 00:00:00 2001 From: David Bailes Date: Mon, 20 Mar 2017 15:06:59 +0000 Subject: [PATCH] Fix for bug 1611: after select none, temporary in-correctness After select none, the timeline and selection times are temporarily not updated. Fix: AudacityProject::SelectNone refreshes the TrackPanel, so call it after changing the SelectedRegion. --- src/Menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Menus.cpp b/src/Menus.cpp index 6661a315b..ecb5aae6d 100644 --- a/src/Menus.cpp +++ b/src/Menus.cpp @@ -5169,8 +5169,8 @@ void AudacityProject::OnSelectAll() void AudacityProject::OnSelectNone() { - this->SelectNone(); mViewInfo.selectedRegion.collapseToT0(); + SelectNone(); ModifyState(false); }