From 6bbcb978c5b6704d0a59a45b5865b18787464cd5 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Tue, 18 Sep 2001 12:22:08 +0000 Subject: [PATCH] Set the bounds to the slider, so it updates during a spellchecking session. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2769 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/xforms/ChangeLog | 3 +++ src/frontends/xforms/FormSpellchecker.C | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index ecbefe31db..ce35b3b8a3 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -2,6 +2,9 @@ * form_ref.fd: a little tweaking. + * FormSpellchecker.C (build): set the bounds to the slider, so it + updates during a spellchecking session. + 2001-09-14 Angus Leeming * forms/form_preferences.fd: rearrangement and addition of new diff --git a/src/frontends/xforms/FormSpellchecker.C b/src/frontends/xforms/FormSpellchecker.C index 1f1ac9a37f..b363e6c5b9 100644 --- a/src/frontends/xforms/FormSpellchecker.C +++ b/src/frontends/xforms/FormSpellchecker.C @@ -29,6 +29,9 @@ void FormSpellchecker::build() { dialog_.reset(build_spellchecker()); + fl_set_slider_bounds(dialog_->slider, 0.0, 100.0); + fl_set_slider_step(dialog_->slider, 1.0); + // Manage the buttons bc().setCancel(dialog_->done); bc().addReadOnly(dialog_->replace);