mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
bug 1028 fix
(the clone() patch needs some additional stuff for this, it will wait until that's applied - it's in my tree) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7075 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
767034028f
commit
6391d04bf9
@ -1,3 +1,8 @@
|
||||
2003-06-01 John Levon <levon@movementarian.org>
|
||||
|
||||
* QGraphicsDialog.C: use relative file browsing
|
||||
(bug 1028)
|
||||
|
||||
2003-05-24 John Levon <levon@movementarian.org>
|
||||
|
||||
* Toolbar_pimpl.C: workaround a Qt bug with combobox
|
||||
|
@ -87,13 +87,10 @@ void QGraphicsDialog::closeEvent(QCloseEvent * e)
|
||||
|
||||
void QGraphicsDialog::browse_clicked()
|
||||
{
|
||||
QString file = QFileDialog::getOpenFileName(
|
||||
QString::null, qt_("Files (*)"),
|
||||
this, 0, qt_("Select graphics file"));
|
||||
if (!file.isNull()) {
|
||||
filename->setText(file);
|
||||
string const str =
|
||||
form_->controller().Browse(fromqstr(filename->text()));
|
||||
filename->setText(toqstr(str));
|
||||
form_->changed();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user