mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 15:15:25 +02:00
[233478] Promptable Filter Displayed 3 times when clicking cancel
This commit is contained in:
parent
b116f3146d
commit
3103f690c8
1 changed files with 10 additions and 3 deletions
|
@ -37,6 +37,7 @@
|
|||
* David Dykstal (IBM) - [231867] TVT34:TCT196: PLK: "Subset" window too narrow
|
||||
* David Dykstal (IBM) - [188150] adding "go up one level" tooltip
|
||||
* David McKnight (IBM) - [232320] remote system details view restore problem
|
||||
* David McKnight (IBM) - [233478] Promptable Filter Displayed 3 times when clicking cancel
|
||||
*******************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.ui.view;
|
||||
|
@ -1336,10 +1337,16 @@ public class SystemTableViewPart extends ViewPart
|
|||
if (adapter != null)
|
||||
{
|
||||
alreadyHandled = adapter.handleDoubleClick(element);
|
||||
|
||||
if (!alreadyHandled && adapter.hasChildren((IAdaptable)element))
|
||||
if (!alreadyHandled)
|
||||
{
|
||||
setInput((IAdaptable) element);
|
||||
if (adapter.isPromptable(element))
|
||||
{
|
||||
adapter.getChildren((IAdaptable)element, new NullProgressMonitor());
|
||||
}
|
||||
else if (!alreadyHandled && adapter.hasChildren((IAdaptable)element))
|
||||
{
|
||||
setInput((IAdaptable) element);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue