aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer_wx.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-03-27 16:23:11 +0100
committerDan Gudmundsson <[email protected]>2015-03-27 17:49:27 +0100
commit21a1802064b3c2293687f2ba4171eb2389377e47 (patch)
tree5b88fd167eaeebd2262c5830cc08dc9e104a439d /lib/observer/src/observer_wx.erl
parentd477e5978d165d7496fa6b983f8933f5105f901f (diff)
downloadotp-21a1802064b3c2293687f2ba4171eb2389377e47.tar.gz
otp-21a1802064b3c2293687f2ba4171eb2389377e47.tar.bz2
otp-21a1802064b3c2293687f2ba4171eb2389377e47.zip
observer: Fix crash in process_window
Links can be to named processes, convert atom to list
Diffstat (limited to 'lib/observer/src/observer_wx.erl')
-rw-r--r--lib/observer/src/observer_wx.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/observer/src/observer_wx.erl b/lib/observer/src/observer_wx.erl
index c86f5ea916..15df804975 100644
--- a/lib/observer/src/observer_wx.erl
+++ b/lib/observer/src/observer_wx.erl
@@ -422,8 +422,7 @@ return_to_localnode(Frame, Node) ->
end.
create_txt_dialog(Frame, Msg, Title, Style) ->
- MD = wxMessageDialog:new(Frame, Msg, [{style, Style}]),
- wxMessageDialog:setTitle(MD, Title),
+ MD = wxMessageDialog:new(Frame, Msg, [{style, Style}, {caption,Title}]),
wxDialog:showModal(MD),
wxDialog:destroy(MD).