From 40922a3ff68538195404a9eb3ad41b1393942ecc Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 2 Feb 2012 15:06:56 +0000
Subject: [PATCH]

---
 Fltk/onelabWindow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Fltk/onelabWindow.cpp b/Fltk/onelabWindow.cpp
index df43c356cb..0e6271d0b6 100644
--- a/Fltk/onelabWindow.cpp
+++ b/Fltk/onelabWindow.cpp
@@ -1034,7 +1034,7 @@ void onelabWindow::rebuildTree()
     but->menubutton()->copy(&menu[0]);
     but->value(strings[i].getValue().c_str());
     if(strings[i].getAttribute("Highlight").size())
-      but->color(FL_YELLOW);
+      but->input()->color(FL_YELLOW);
     but->align(FL_ALIGN_RIGHT);
     but->callback(onelab_input_choice_cb, (void*)n);
     but->when(FL_WHEN_RELEASE | FL_WHEN_ENTER_KEY);
-- 
GitLab