mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-05 22:28:57 +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
|
const wxString &Scrubber::GetUntranslatedStateString() const
|
||||||
{
|
{
|
||||||
|
static wxString empty;
|
||||||
|
|
||||||
if (HasStartedScrubbing()) {
|
if (HasStartedScrubbing()) {
|
||||||
auto item = FindMenuItem(mSmoothScrollingScrub, mAlwaysSeeking);
|
auto &item = FindMenuItem(mSmoothScrollingScrub, mAlwaysSeeking);
|
||||||
return item.status;
|
return item.status;
|
||||||
}
|
}
|
||||||
else return {};
|
else
|
||||||
|
return empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<wxString> Scrubber::GetAllUntranslatedStatusStrings()
|
std::vector<wxString> Scrubber::GetAllUntranslatedStatusStrings()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user