Skip to content
Snippets Groups Projects
Commit 5adb8aa4 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

No commit message

No commit message
parent ab956ea5
No related branches found
No related tags found
No related merge requests found
......@@ -722,7 +722,10 @@ static void onelab_choose_executable_cb(Fl_Widget *w, void *data)
#if defined(WIN32)
pattern += ".exe";
#endif
if(fileChooser(FILE_CHOOSER_SINGLE, "Choose executable", pattern.c_str())){
const char *old = 0;
if(!c->getCommandLine().empty()) old = c->getCommandLine().c_str();
if(fileChooser(FILE_CHOOSER_SINGLE, "Choose executable", pattern.c_str(), old)){
std::string exe = fileChooserGetName(1);
c->setCommandLine(exe);
if(c->getIndex() >= 0 && c->getIndex() < 5)
......
......@@ -3041,9 +3041,10 @@ solver module, you need to specify its name (@code{Solver.Name0},
@ref{Solver options list}).
The client-server API for the solver interface is defined in the
@file{onelab.h} header. See the sources of GetDP
(@url{http://geuz.org/getdp}, for an example on how to use the ONELAB
programming interface.
@file{onelab.h} header. See @file{utils/solvers/c++/solver.cpp} for a
simple example on how to use the ONELAB programming interface. See the
sources of GetDP (@url{http://geuz.org/getdp} for a more comprehensive
example.
@menu
* Solver options::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment