mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
[fix] System view toolbar refresh action not correctly initialized with id and action definition id
This commit is contained in:
parent
0336dce69b
commit
0df2ceb4ec
1 changed files with 2 additions and 0 deletions
|
@ -600,6 +600,8 @@ public class SystemViewPart
|
|||
{
|
||||
IActionBars actionBars = getViewSite().getActionBars();
|
||||
SystemRefreshAction refreshAction = new SystemRefreshAction(getShell());
|
||||
refreshAction.setId(ActionFactory.REFRESH.getId());
|
||||
refreshAction.setActionDefinitionId("org.eclipse.ui.file.refresh"); //$NON-NLS-1$
|
||||
refreshAction.setSelectionProvider(systemView);
|
||||
actionBars.setGlobalActionHandler(ActionFactory.REFRESH.getId(), refreshAction);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue