mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 03:53:21 +02:00
Bug 519249 - [LaunchBar] popup disposed when typing
Focus is lost and popup disposed after filter control is activated Probably in Oxygen sometime changes as focus now totally lost (focus control is null) after selection in our custom tree. Just resetting focus for now, need more investigation later why it was lost Change-Id: I0ab671ba97d8ecfe5586688812a9ea728d8f9619
This commit is contained in:
parent
bb7cbf8429
commit
12514becfb
1 changed files with 2 additions and 0 deletions
|
@ -206,6 +206,8 @@ public class FilterControl extends Composite {
|
|||
listViewer.setHistorySupported(patternText == null || patternText.isEmpty());
|
||||
listViewer.refresh(true);
|
||||
updateListSelection(false);
|
||||
// re-focus filterText in case it lost the focus
|
||||
filterText.setFocus();
|
||||
} finally {
|
||||
redrawControl.setRedraw(true);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue