mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 09:16:02 +02:00
small buglet
This commit is contained in:
parent
040b0517dc
commit
4cfbba8bb8
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ public class CDebuggerTab extends CLaunchConfigurationTab {
|
|||
*/
|
||||
protected ILaunchConfigurationTab getTabForCurrentDebugger() {
|
||||
int selectedIndex = fDlist.getSelectionIndex();
|
||||
if (selectedIndex > 0) {
|
||||
if (selectedIndex >= 0) {
|
||||
ICDebugConfiguration dbgCfg = (ICDebugConfiguration) fDinfo.get(selectedIndex);
|
||||
return CDebugUIPlugin.getDefault().getDebuggerPage(dbgCfg.getID());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue