diff options
author | Siri Hansen <[email protected]> | 2016-04-27 14:15:57 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2016-05-19 15:21:51 +0200 |
commit | 7c605482cb179dc81b219d239d15c585049b6433 (patch) | |
tree | 7e896674bc1f7821ab990fd3ec5677c552e3929a /lib/observer/src/observer_traceoptions_wx.erl | |
parent | eeb094055101971ff94449cff08986126fb6add1 (diff) | |
download | otp-7c605482cb179dc81b219d239d15c585049b6433.tar.gz otp-7c605482cb179dc81b219d239d15c585049b6433.tar.bz2 otp-7c605482cb179dc81b219d239d15c585049b6433.zip |
[observer] Set correct parent in Label dialog
The dialog for setting label on match specs in observer had faulty
parent. This is now corrected.
Diffstat (limited to 'lib/observer/src/observer_traceoptions_wx.erl')
-rw-r--r-- | lib/observer/src/observer_traceoptions_wx.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/observer/src/observer_traceoptions_wx.erl b/lib/observer/src/observer_traceoptions_wx.erl index f9b4929ec4..8a6d1403a8 100644 --- a/lib/observer/src/observer_traceoptions_wx.erl +++ b/lib/observer/src/observer_traceoptions_wx.erl @@ -327,7 +327,7 @@ select_matchspec(Pid, Parent, AllMatchSpecs, Key) -> filter_listbox_data("", Choices, ListBox), Add = fun(_,_) -> - case edit_ms(TextCtrl, new, Parent) of + case edit_ms(TextCtrl, new, Dialog) of Ms = #match_spec{} -> add_and_select(-1, Ms, ListBox), wxWindow:enable(OkButt), @@ -341,7 +341,7 @@ select_matchspec(Pid, Parent, AllMatchSpecs, Key) -> case SelId >= 0 of true -> #match_spec{name=Name} = wxListBox:getClientData(ListBox,SelId), - case edit_ms(TextCtrl, Name, Parent) of + case edit_ms(TextCtrl, Name, Dialog) of Ms = #match_spec{} -> add_and_select(SelId, Ms, ListBox), wxWindow:enable(OkButt), |