diff --git a/Fltk/onelabGroup.cpp b/Fltk/onelabGroup.cpp index 7585ea868c32c987bdf213598c990d264c6c4d94..a22bd02534a3596c80cd9e7ffd2e95f42b10bc09 100644 --- a/Fltk/onelabGroup.cpp +++ b/Fltk/onelabGroup.cpp @@ -660,7 +660,8 @@ static void onelab_choose_executable_cb(Fl_Widget *w, void *data) const char *old = 0; if(!c->getExecutable().empty()) old = c->getExecutable().c_str(); - if(fileChooser(FILE_CHOOSER_SINGLE, "Choose executable", pattern.c_str(), old)){ + std::string title = "Choose location of " + c->getName() + " executable"; + if(fileChooser(FILE_CHOOSER_SINGLE, title.c_str(), pattern.c_str(), old)){ std::string exe = fileChooserGetName(1); c->setExecutable(exe); if(c->getIndex() >= 0 && c->getIndex() < 5)