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
This commit is contained in:
Angus Leeming 2001-09-18 12:22:08 +00:00
parent 59df20fcc6
commit 6bbcb978c5
2 changed files with 6 additions and 0 deletions

View File

@ -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 <a.leeming@ic.ac.uk>
* forms/form_preferences.fd: rearrangement and addition of new

View File

@ -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);