Typo, only 10 recent accels
This commit is contained in:
parent
95c3fd8cdf
commit
7c06968557
|
@ -710,7 +710,7 @@ void MainFrame::enable_menus()
|
|||
|
||||
void MainFrame::SetRecentAccels()
|
||||
{
|
||||
for (int i = 0; i <= 10; i++) {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
wxMenuItem* mi = recent->FindItem(i + wxID_FILE1);
|
||||
|
||||
if (!mi)
|
||||
|
|
Loading…
Reference in New Issue