diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index bf4a828649..ab28c5648b 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,7 +1,10 @@ -2007-01-05 Jürgen Spitzmüller +2007-01-08 Jürgen Spitzmüller * QBibtexDialog.C: sanitize button behaviour (bug 2895). + * QGraphicsDialog.C: do not focus filename widget for + already existing insets (bug 1663). + 2007-01-05 Jürgen Spitzmüller * QCitationDialog.C: Disallow pressing the add button in the citation diff --git a/src/frontends/qt2/QGraphicsDialog.C b/src/frontends/qt2/QGraphicsDialog.C index e4361c10cf..62c11289e3 100644 --- a/src/frontends/qt2/QGraphicsDialog.C +++ b/src/frontends/qt2/QGraphicsDialog.C @@ -22,6 +22,8 @@ #include "controllers/ControlGraphics.h" +#include "insets/insetgraphicsParams.h" + #include #include #include @@ -66,7 +68,8 @@ QGraphicsDialog::QGraphicsDialog(QGraphics * form) void QGraphicsDialog::show() { QGraphicsDialogBase::show(); - filename->setFocus(); + if (form_->controller().params().filename.empty()) + filename->setFocus(); } diff --git a/status.14x b/status.14x index 0bbd5fae6c..977ce37420 100644 --- a/status.14x +++ b/status.14x @@ -166,6 +166,8 @@ What's new - Sanitize button enabling in the bibtex dialog [qt only] (bug 2895) +- fix focus problems in the graphics dialog [qt only] (bug 1663) + * Build/installation: - Allow autoconf 2.60 and 2.61 for building.