mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-25 08:58:06 +02:00
Bug 646: PAGEUP and PAGEDOWN disabled for now.
This commit is contained in:
parent
863e9aecb5
commit
557885770b
@ -270,11 +270,20 @@ void PluginRegistrationDialog::OnChar( wxListEvent & event )
|
||||
{
|
||||
iItem = 0;
|
||||
}
|
||||
else if(( iKeyCode == WXK_PAGEUP ) || ( iKeyCode == WXK_PAGEDOWN ))
|
||||
{
|
||||
// ignore page up and page down for now.
|
||||
// At some future date we can calculate where they take the focus to
|
||||
// and extra-toggle that item.
|
||||
event.Veto();
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
iItem = -1;
|
||||
}
|
||||
// Item must be in range and not the item we are already on.
|
||||
// Item must be in range.
|
||||
// Extra-toggle so that item is toggled back.
|
||||
if( (iItem >= 0 ) && (iItem < (int)mFiles.GetCount() ))
|
||||
ToggleItem(iItem);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user