mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-09 16:41:14 +02:00
Oops, fix crash in the previous.
This commit is contained in:
commit
7f5e378573
@ -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