]> git.lyx.org Git - features.git/commitdiff
Fix stupid page range code
authorJohn Levon <levon@movementarian.org>
Wed, 5 Feb 2003 23:24:38 +0000 (23:24 +0000)
committerJohn Levon <levon@movementarian.org>
Wed, 5 Feb 2003 23:24:38 +0000 (23:24 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6037 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt2/ChangeLog
src/frontends/qt2/QLPrintDialog.C

index 49147b0db600f2d8a8cd6b73cc7c95b825b1bc32..43eb762d884ac3b7a144d02a2e9f47beb7c9e4ae 100644 (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)
 2003-02-02  John Levon  <levon@movementarian.org>
 
        * QTocDialog.C: set no sorting (bug 856)
index 2c59c948200f5827bbf0e6ef987196588ac9d112..1fe2ac1a2d50c4e0dd9e5d39e05fdbc6243c15c5 100644 (file)
@@ -86,11 +86,5 @@ void QLPrintDialog::printerChanged()
 
 void QLPrintDialog::pagerangeChanged()
 {
 
 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();
 }
        form_->changed();
 }