diff options
author | Siri Hansen <[email protected]> | 2018-01-12 11:25:36 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-01-12 11:25:36 +0100 |
commit | 8fbbc9713e86b51295835f4b5065769c4ca407ef (patch) | |
tree | 0b4f2a01db7a4d4b6be0ad7782414ef6e4f0b40b /lib/observer/src/observer_procinfo.erl | |
parent | 00c255c94ffad33a57e9604cee67cde5f717b99a (diff) | |
parent | ebc81123499da2e0fa03f8eb989dfeb785a04bd3 (diff) | |
download | otp-8fbbc9713e86b51295835f4b5065769c4ca407ef.tar.gz otp-8fbbc9713e86b51295835f4b5065769c4ca407ef.tar.bz2 otp-8fbbc9713e86b51295835f4b5065769c4ca407ef.zip |
Merge branch 'siri/cdv/many-links/OTP-14725' into maint
* siri/cdv/many-links/OTP-14725:
[observer] Improve performance for many links or monitors
Diffstat (limited to 'lib/observer/src/observer_procinfo.erl')
-rw-r--r-- | lib/observer/src/observer_procinfo.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/observer/src/observer_procinfo.erl b/lib/observer/src/observer_procinfo.erl index fb02ae2728..854f338a89 100644 --- a/lib/observer/src/observer_procinfo.erl +++ b/lib/observer/src/observer_procinfo.erl @@ -120,6 +120,10 @@ handle_event(#wx{id=?REFRESH}, #state{frame=Frame, pid=Pid, pages=Pages, expand_ end, {noreply, State}; +handle_event(#wx{obj=MoreEntry,event=#wxMouse{type=left_down},userData={more,More}}, State) -> + observer_lib:add_scroll_entries(MoreEntry,More), + {noreply, State}; + handle_event(#wx{event=#wxMouse{type=left_down}, userData=TargetPid}, State) -> observer ! {open_link, TargetPid}, {noreply, State}; |