mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-04 16:14:00 +01:00
Bug 1901 - Status bar message does not update when Recording or Playback sliders are moved
This commit is contained in:
@@ -1317,6 +1317,14 @@ void LWSlider::SendUpdate( float newValue )
|
||||
|
||||
Refresh();
|
||||
|
||||
// Update the project's status bar as well
|
||||
if (mTipPanel) {
|
||||
auto tip = GetTip(mCurrentValue);
|
||||
auto pProject = FindProjectFromWindow( mParent );
|
||||
if (pProject)
|
||||
ProjectStatus::Get( *pProject ).Set( tip );
|
||||
}
|
||||
|
||||
wxCommandEvent e( wxEVT_COMMAND_SLIDER_UPDATED, mID );
|
||||
int intValue = (int)( ( mCurrentValue - mMinValue ) * 1000.0f /
|
||||
( mMaxValue - mMinValue ) );
|
||||
|
||||
Reference in New Issue
Block a user