From 895f80a0c7a1e9c6fea5c7f1b8d1ea39c9ca1123 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 15 Dec 2010 13:36:06 +0000 Subject: Make sure that tooltips are always on in test/preferences, even if they are disabled by system or user options. Otherwise users wouldn't get the necessary tooltips if someone switched tooltips off. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/preferences.fl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/preferences.fl b/test/preferences.fl index ff7b9dd3f..c273d758b 100644 --- a/test/preferences.fl +++ b/test/preferences.fl @@ -238,5 +238,7 @@ Fl::delete_widget(myWindow);} xywh {315 275 75 25} } } - code {readPrefs();} {} + code {readPrefs(); + Fl::option(Fl::OPTION_SHOW_TOOLTIPS,1); // make sure tooltips are on ! +} {} } -- cgit v1.2.3