From c6c442f03b981e55ab1a137e80b66cbac6aa6721 Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 5 Feb 2003 23:24:38 +0000 Subject: [PATCH] Fix stupid page range code git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6037 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/ChangeLog | 4 ++++ src/frontends/qt2/QLPrintDialog.C | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index 49147b0db6..43eb762d88 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,7 @@ +2003-02-05 John Levon + + * QLPrintDialog.C: fix braindead "helpful" code + 2003-02-02 John Levon * QTocDialog.C: set no sorting (bug 856) diff --git a/src/frontends/qt2/QLPrintDialog.C b/src/frontends/qt2/QLPrintDialog.C index 2c59c94820..1fe2ac1a2d 100644 --- a/src/frontends/qt2/QLPrintDialog.C +++ b/src/frontends/qt2/QLPrintDialog.C @@ -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(); }