Fix stupid page range code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6037 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-02-05 23:24:38 +00:00
parent 072fa256d6
commit c6c442f03b
2 changed files with 4 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2003-02-05 John Levon <levon@movementarian.org>
* QLPrintDialog.C: fix braindead "helpful" code
2003-02-02 John Levon <levon@movementarian.org>
* QTocDialog.C: set no sorting (bug 856)

View File

@ -86,11 +86,5 @@ void QLPrintDialog::printerChanged()
void QLPrintDialog::pagerangeChanged()
{
int const from = strToUnsignedInt(fromqstr(fromED->text()));
int const to = strToUnsignedInt(fromqstr(toED->text()));
if (!toED->text().isEmpty() && from > to)
fromED->setText(toED->text());
form_->changed();
}