From 80f95d407a98af353ed1b9c31c8767c4f6ad73b3 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Mon, 20 Apr 2020 09:05:21 -0500 Subject: [PATCH] Bug 2394 - Mac: length field in Selection toolbar is corrupted - blank dotted rectangle. --- src/toolbars/SelectionBar.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/toolbars/SelectionBar.cpp b/src/toolbars/SelectionBar.cpp index d8ee0183d..0fae2bed6 100644 --- a/src/toolbars/SelectionBar.cpp +++ b/src/toolbars/SelectionBar.cpp @@ -677,8 +677,10 @@ void SelectionBar::ShowHideControls(int mode) NumericTextCtrl ** Ctrls[4] = { &mStartTime, &mCenterTime, &mLengthTime, &mEndTime}; for(int i=0;i<4;i++){ - if( *Ctrls[i]) + if( *Ctrls[i]){ (*Ctrls[i])->Show( (mask & (1<Refresh(); + } } }