aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer_gui.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-04-22 09:02:45 +0200
committerHans Bolinder <[email protected]>2013-04-24 14:16:21 +0200
commit0567be1e0ab0e133ea0aadb6fd33a1d8e976dc50 (patch)
tree8683aefe51d954ef3595e27b72209858216d28a8 /lib/dialyzer/src/dialyzer_gui.erl
parent1209686a614736ab091a5c036a14645610866ee5 (diff)
downloadotp-0567be1e0ab0e133ea0aadb6fd33a1d8e976dc50.tar.gz
otp-0567be1e0ab0e133ea0aadb6fd33a1d8e976dc50.tar.bz2
otp-0567be1e0ab0e133ea0aadb6fd33a1d8e976dc50.zip
[dialyzer] Fix a bug concerning the --gui and --wx options
A bug that made it impossible to do any analyses from the GUI has been fixed. The bug was introduced in dialyzer-2.5.2.
Diffstat (limited to 'lib/dialyzer/src/dialyzer_gui.erl')
-rw-r--r--lib/dialyzer/src/dialyzer_gui.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/dialyzer/src/dialyzer_gui.erl b/lib/dialyzer/src/dialyzer_gui.erl
index ac9844c22c..97e5752577 100644
--- a/lib/dialyzer/src/dialyzer_gui.erl
+++ b/lib/dialyzer/src/dialyzer_gui.erl
@@ -2,7 +2,7 @@
%%------------------------------------------------------------------------
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2006-2012. All Rights Reserved.
+%% Copyright Ericsson AB 2006-2013. 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
@@ -1331,7 +1331,8 @@ build_analysis_record(#gui_state{mode = Mode, menu = Menu, options = Options,
#analysis{defines = Options#options.defines,
include_dirs = Options#options.include_dirs,
plt = InitPlt,
- start_from = StartFrom}.
+ start_from = StartFrom,
+ solvers = Options#options.solvers}.
get_anal_files(#gui_state{chosen_box = ChosenBox}, StartFrom) ->
Files = gs:read(ChosenBox, items),