From 9064df5331a5af02481ca9f2f9f4a5bfa338afec Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 5 Oct 2009 06:46:58 +0000 Subject: [PATCH] remove 2 extra opt assigns --- Fltk/solverWindow.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Fltk/solverWindow.cpp b/Fltk/solverWindow.cpp index 7a34eb2acc..0f79a18170 100644 --- a/Fltk/solverWindow.cpp +++ b/Fltk/solverWindow.cpp @@ -394,12 +394,6 @@ static void solver_command_cb(Fl_Widget *w, void *data) if(ConnectionManager::get(num)->popupMessages) FlGui::instance()->messages->show(true); - ConnectionManager::get(num)->inputFileName = - FlGui::instance()->solver[num]->input[0]->value(); - - ConnectionManager::get(num)->meshFileName = - FlGui::instance()->solver[num]->input[1]->value(); - int optionIndex = 0; for(int i = 0; i < idx; i++) optionIndex += numPercentS(ConnectionManager::get(num)->buttonSwitch[i]); @@ -407,6 +401,7 @@ static void solver_command_cb(Fl_Widget *w, void *data) int optionChoice = 0; if(optionIndex >= 0 && optionIndex < FlGui::instance()->solver[num]->choice.size()) optionChoice = FlGui::instance()->solver[num]->choice[optionIndex]->value(); + ConnectionManager::get(num)->runCommand(idx, optionIndex, optionChoice); } -- GitLab