diff options
author | Dan Gudmundsson <[email protected]> | 2015-01-13 12:56:28 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2015-01-13 12:56:28 +0100 |
commit | 8956d9d02190cac3a82b89eb23b68b3494ed390f (patch) | |
tree | d963e474b57af63cd3f63bfe3950feb64bb8de46 /lib | |
parent | a12aa8db90712b4d176766249b5a45f3c9ab6f59 (diff) | |
parent | a3c7b9fa731878774358fc3f23c07e684a229172 (diff) | |
download | otp-8956d9d02190cac3a82b89eb23b68b3494ed390f.tar.gz otp-8956d9d02190cac3a82b89eb23b68b3494ed390f.tar.bz2 otp-8956d9d02190cac3a82b89eb23b68b3494ed390f.zip |
Merge branch 'dgud/debugger/save-state-mac/OTP-12378' into maint
* dgud/debugger/save-state-mac/OTP-12378:
debugger: Fix debugger save options on mac
Diffstat (limited to 'lib')
-rw-r--r-- | lib/debugger/src/dbg_wx_settings.erl | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/debugger/src/dbg_wx_settings.erl b/lib/debugger/src/dbg_wx_settings.erl index 20aac74c3d..2c332c0a54 100644 --- a/lib/debugger/src/dbg_wx_settings.erl +++ b/lib/debugger/src/dbg_wx_settings.erl @@ -65,14 +65,8 @@ open_win(Win, Pos, SFile, Str, What) -> {style,What}]), case wxFileDialog:showModal(FD) of ?wxID_OK -> - case wxFileDialog:getPaths(FD) of - [NewFile] -> - wxFileDialog:destroy(FD), - {ok, NewFile}; - _ -> - wxFileDialog:destroy(FD), - cancel - end; + NewFile = wxFileDialog:getPath(FD), + {ok, NewFile}; _ -> wxFileDialog:destroy(FD), cancel |