From e927a3d9ff31856402af4e8cfdbe85d39ce1c6a2 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 22 Jan 2003 02:22:50 +0000
Subject: [PATCH] By popular request (hum), add a save button in the solver
 option pane.

---
 Fltk/GUI.cpp | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp
index 9ffbc2f5a0..2e3afdd294 100644
--- a/Fltk/GUI.cpp
+++ b/Fltk/GUI.cpp
@@ -1,4 +1,4 @@
-// $Id: GUI.cpp,v 1.223 2002-12-04 17:19:37 geuzaine Exp $
+// $Id: GUI.cpp,v 1.224 2003-01-22 02:22:50 geuzaine Exp $
 //
 // Copyright (C) 1997 - 2002 C. Geuzaine, J.-F. Remacle
 //
@@ -3017,10 +3017,16 @@ void GUI::create_solver_window(int num){
 	solver[num].butt[i]->selection_color(TOGGLE_COLOR);
       }
       
-      Fl_Return_Button* o = new Fl_Return_Button(width-BB-2*WB, 
-						 height-(3+newrow)*WB-(2+newrow)*BH, BB, BH, "Apply");
-      o->callback(solver_ok_cb, (void*)num);
-      
+      { 
+	Fl_Return_Button* o = new Fl_Return_Button(width-2*BB-3*WB,
+						   height-(3+newrow)*WB-(2+newrow)*BH, BB, BH, "Apply");
+	o->callback(solver_ok_cb, (void*)num);
+      }
+      {
+	Fl_Button* o = new Fl_Button(width-BB-2*WB, 
+				     height-(3+newrow)*WB-(2+newrow)*BH, BB, BH, "Save");
+	o->callback(options_save_cb);
+      }
       g[1]->end();
     }
     { 
-- 
GitLab