From c3b900e95fe639d4e55572e6ea4306ebea0043e6 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 1 Dec 2003 22:02:58 +0000
Subject: [PATCH] Set vis_input::value() to "*" be default

---
 Fltk/GUI.cpp | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp
index 5e366654c7..221937b6aa 100644
--- a/Fltk/GUI.cpp
+++ b/Fltk/GUI.cpp
@@ -1,4 +1,4 @@
-// $Id: GUI.cpp,v 1.257 2003-12-01 21:51:19 geuzaine Exp $
+// $Id: GUI.cpp,v 1.258 2003-12-01 22:02:58 geuzaine Exp $
 //
 // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
 //
@@ -2845,10 +2845,13 @@ void GUI::create_visibility_window()
     Fl_Button *o2 = new Fl_Button(2 * WB + ww, height - 2 * WB - 2 * BH, ww, BH, "Hide");
     o2->callback(visibility_number_cb, (void *)0);
 
-    vis_input_mode = new Fl_Choice(2 * WB + (brw - 2 * WB) / 3, height - 2 * WB - 2 * BH, (brw - 2 * WB) / 3, BH);
+    vis_input_mode = new Fl_Choice(2 * WB + (brw - 2 * WB) / 3, height - 2 * WB - 2 * BH,
+				   (brw - 2 * WB) / 3, BH);
     vis_input_mode->menu(input_mode_table);
     
-    vis_input = new Fl_Input(3 * WB + 2 * (brw - 2 * WB) / 3, height - 2 * WB - 2 * BH, (brw - 2 * WB) / 3, BH);
+    vis_input = new Fl_Input(3 * WB + 2 * (brw - 2 * WB) / 3, height - 2 * WB - 2 * BH,
+			     (brw - 2 * WB) / 3, BH);
+    vis_input->value("*");
 #if !((FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 0))
     vis_input->tooltip("Enter an entity number, or *");
 #endif
-- 
GitLab