mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-13 16:15:48 +01:00
Avoid dangling else warning
This commit is contained in:
@@ -2137,13 +2137,14 @@ namespace {
|
||||
return _("Move to Scrub");
|
||||
#else
|
||||
wxMouseState State = wxGetMouseState();
|
||||
if( State.LeftIsDown() )
|
||||
if( State.LeftIsDown() ) {
|
||||
// Since mouse is down, mention dragging first.
|
||||
// IsScrubbing is true if Scrubbing OR seeking.
|
||||
if( scrubber.IsOneShotSeeking() )
|
||||
return _("Drag to Seek. Release to stop seeking.");
|
||||
else
|
||||
return _("Drag to Seek. Release and move to Scrub.");
|
||||
}
|
||||
// Since mouse is up, mention moving first.
|
||||
return _("Move to Scrub. Drag to Seek.");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user