mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Protection against single-file ctrl+tab
This commit is contained in:
parent
7dc9fb699c
commit
4713f5528b
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ namespace IDE.ui
|
|||
if (!hadActiveDocument)
|
||||
mMenuWidget.SetSelection(0);
|
||||
else
|
||||
mMenuWidget.SetSelection(1);
|
||||
mMenuWidget.SetSelection(Math.Min(1, menu.mItems.Count - 1));
|
||||
}
|
||||
|
||||
public void Next()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue