* src/frontends/qt4/QGraphicsDialog.C:

- do not focus filename widget for already existing insets (bug 1663).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16604 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-01-08 13:22:50 +00:00
parent f8f59e97fb
commit 10917a7b09

View File

@ -23,6 +23,8 @@
#include "controllers/ControlGraphics.h"
#include "insets/insetgraphicsParams.h"
#include <QCloseEvent>
#include <QPushButton>
#include <QLineEdit>
@ -124,7 +126,8 @@ QGraphicsDialog::QGraphicsDialog(QGraphics * form)
void QGraphicsDialog::show()
{
QDialog::show();
filename->setFocus();
if (form_->controller().params().filename.empty())
filename->setFocus();
}