mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-05 14:18:53 +02:00
Oops, fix crash in the previous.
This commit is contained in:
parent
6147705199
commit
853dff4106
@ -642,11 +642,14 @@ void Scrubber::OnScrollSeek()
|
||||
|
||||
const wxString &Scrubber::GetUntranslatedStateString() const
|
||||
{
|
||||
static wxString empty;
|
||||
|
||||
if (HasStartedScrubbing()) {
|
||||
auto item = FindMenuItem(mSmoothScrollingScrub, mAlwaysSeeking);
|
||||
auto &item = FindMenuItem(mSmoothScrollingScrub, mAlwaysSeeking);
|
||||
return item.status;
|
||||
}
|
||||
else return {};
|
||||
else
|
||||
return empty;
|
||||
}
|
||||
|
||||
std::vector<wxString> Scrubber::GetAllUntranslatedStatusStrings()
|
||||
|
Loading…
x
Reference in New Issue
Block a user