mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
* 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:
parent
f8f59e97fb
commit
10917a7b09
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user