mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-13 11:15:38 +02:00
potential fix for 160294 - check for input before updating action states
This commit is contained in:
parent
74a7f2d59e
commit
f38e3e0581
1 changed files with 4 additions and 1 deletions
|
@ -778,10 +778,13 @@ public class SystemCommandsViewPart
|
||||||
Widget source = e.widget;
|
Widget source = e.widget;
|
||||||
|
|
||||||
if (source == _folder.getFolder())
|
if (source == _folder.getFolder())
|
||||||
|
{
|
||||||
|
if (_folder.getInput() != null)
|
||||||
{
|
{
|
||||||
updateActionStates();
|
updateActionStates();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// -------------------------------
|
// -------------------------------
|
||||||
|
|
Loading…
Add table
Reference in a new issue