mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 07:40:23 +02:00
Bug 1901 - Status bar message does not update when Recording or Playback sliders are moved
This commit is contained in:
parent
52acaf6031
commit
a7197d7d14
@ -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 ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user