From 6ae2d83a95533663b7f92f0bd04a0e21b7d9c21c Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Wed, 5 May 2004 11:14:27 +0000 Subject: [PATCH] Set the default button in the print dialog to OK. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@8745 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/ChangeLog | 5 +++++ src/frontends/qt2/ui/QPrintDialogBase.ui | 16 ++++++++++++++-- status.13x | 3 +++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index b4cddba897..b38db41cca 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,8 @@ +2004-05-05 Angus Leeming + + * ui/QPrintDialogBase.ui: set the default button, activated on + Return, to be the Ok button rather than the Close button. + 2004-05-05 Angus Leeming * QRef.C (redoRefs): Prevent widgets from emitting any signals diff --git a/src/frontends/qt2/ui/QPrintDialogBase.ui b/src/frontends/qt2/ui/QPrintDialogBase.ui index cae3fbb5af..314492285c 100644 --- a/src/frontends/qt2/ui/QPrintDialogBase.ui +++ b/src/frontends/qt2/ui/QPrintDialogBase.ui @@ -13,7 +13,7 @@ 0 0 - 407 + 403 454 @@ -346,6 +346,14 @@ text &Print + + autoDefault + false + + + default + true + QPushButton @@ -357,9 +365,13 @@ text Close + + autoDefault + false + default - true + false diff --git a/status.13x b/status.13x index d1d928d6d0..fe14fde8ed 100644 --- a/status.13x +++ b/status.13x @@ -67,6 +67,9 @@ What's new - enable instant preview to work on solaris machines. +- set the default button in the print dialog, activated on Return, + to be the Ok button rather than the Close button. [Qt bug only] + * Configuration/Installation: - when running under windows, configure correctly the ps and pdf