mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-25 14:11:28 +01:00
Bug 442 - Extended Import segfault pressing Move Rule Up when there are no rules or filters.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user