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:
parent
ced39e2118
commit
7f99932481
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue