- Timestamp:
- 02/15/11 12:01:05 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/Controls/DragOverTabControl.cs
r5463 r5464 33 33 int tabIndex = -1; 34 34 for (int i = 0; i < TabPages.Count; i++) { 35 if (GetTabRect(i).Contains(position)) tabIndex = i; 35 if (GetTabRect(i).Contains(position)) 36 tabIndex = i; 36 37 } 37 38 38 if (tabIndex != SelectedIndex )39 if (tabIndex != SelectedIndex && tabIndex != -1) 39 40 SelectedIndex = tabIndex; 41 40 42 } 41 43 }
Note: See TracChangeset
for help on using the changeset viewer.