1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-23 07:40:05 +02:00

Bug 442 - Extended Import segfault pressing Move Rule Up when there are no rules or filters.

This commit is contained in:
stevethefiddle@gmail.com 2014-05-17 13:33:41 +00:00
parent a6782da38d
commit b216e802a3

View File

@ -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);