1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 01:05:38 +02:00

fix for 142978

This commit is contained in:
David McKnight 2006-05-23 15:26:35 +00:00
parent ced39e2118
commit 7f99932481

View file

@ -132,7 +132,7 @@ public class CommandsViewWorkbook extends Composite
CommandsViewPage page = getCurrentTabItem(); CommandsViewPage page = getCurrentTabItem();
if (page != null) if (page != null)
{ {
page.setFocus(); // page.setFocus();
return page.getInput(); return page.getInput();
} }
@ -167,10 +167,14 @@ public class CommandsViewWorkbook extends Composite
page.updateOutput(); page.updateOutput();
/* DKM - changing focus can get annoying
* see defect 142978
*
if (_folder.getSelectionIndex() != i) if (_folder.getSelectionIndex() != i)
{ {
_folder.setSelection(item); _folder.setSelection(item);
} }
*/
updateActionStates(); updateActionStates();
//page.setFocus(); //page.setFocus();
return; return;