mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
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:
parent
072fa256d6
commit
c6c442f03b
@ -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)
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user