mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-23 15:50:05 +02:00
Bug 442 - Extended Import segfault pressing Move Rule Up when there are no rules or filters.
This commit is contained in:
parent
a6782da38d
commit
b216e802a3
@ -349,7 +349,7 @@ void ExtImportPrefs::DoOnRuleTableKeyDown (int keycode)
|
||||
wxString ts;
|
||||
if (keycode == WXK_UP)
|
||||
{
|
||||
if (selrow == 0)
|
||||
if (selrow <= 0)
|
||||
return;
|
||||
SwapRows (selrow - 1, selrow);
|
||||
RuleTable->MoveCursorUp (false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user