aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer_tv_wx.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-03-28 10:13:21 +0100
committerDan Gudmundsson <[email protected]>2014-03-28 10:13:21 +0100
commite3f9bf8dbfe4e055753f04125406d29af0ae1050 (patch)
tree7f56c99e508b1d14a08fe5e9a757ddf4453d414c /lib/observer/src/observer_tv_wx.erl
parent95ffe7eb374f59ce3f289747212adf042c1cd703 (diff)
parenta7d0e35b834f9b0d9538c75d06dfe3d698a83ded (diff)
downloadotp-e3f9bf8dbfe4e055753f04125406d29af0ae1050.tar.gz
otp-e3f9bf8dbfe4e055753f04125406d29af0ae1050.tar.bz2
otp-e3f9bf8dbfe4e055753f04125406d29af0ae1050.zip
Merge branch 'dgud/observer/test'
* dgud/observer/test: observer: Add simple test and add debug hooks in app
Diffstat (limited to 'lib/observer/src/observer_tv_wx.erl')
-rw-r--r--lib/observer/src/observer_tv_wx.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/observer/src/observer_tv_wx.erl b/lib/observer/src/observer_tv_wx.erl
index b276965f83..da4cb8e041 100644
--- a/lib/observer/src/observer_tv_wx.erl
+++ b/lib/observer/src/observer_tv_wx.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2011-2012. All Rights Reserved.
+%% Copyright Ericsson AB 2011-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -132,8 +132,8 @@ handle_event(#wx{event=#wxSize{size={W,_}}}, State=#state{grid=Grid}) ->
observer_lib:set_listctrl_col_size(Grid, W),
{noreply, State};
-handle_event(#wx{obj=Grid, event=#wxList{type=command_list_item_activated,
- itemIndex=Index}},
+handle_event(#wx{event=#wxList{type=command_list_item_activated,
+ itemIndex=Index}},
State=#state{grid=Grid, node=Node, opt=#opt{type=Type}, tabs=Tabs}) ->
Table = lists:nth(Index+1, Tabs),
case Table#tab.protection of