mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
fix: "dxf2elmt" and "QET_ElementScaler" also read imported files from QETApp::documentDir() by default
This commit is contained in:
parent
bb770ae4f1
commit
9f8287206b
@ -1472,7 +1472,7 @@ void QETElementEditor::on_m_import_dxf_triggered()
|
||||
{
|
||||
QString file_path{QFileDialog::getOpenFileName(this,
|
||||
QObject::tr("Importer un fichier dxf"),
|
||||
QDir::homePath(),
|
||||
QETApp::documentDir(),
|
||||
"DXF (*.dxf)")};
|
||||
if (file_path.isEmpty()) {
|
||||
return;
|
||||
@ -1498,7 +1498,7 @@ void QETElementEditor::on_m_import_scaled_element_triggered()
|
||||
{
|
||||
QString file_path{QFileDialog::getOpenFileName(this,
|
||||
tr("Importer un élément à redimensionner"),
|
||||
QDir::homePath(),
|
||||
QETApp::documentDir(),
|
||||
tr("Éléments QElectroTech (*.elmt)"))};
|
||||
if (file_path.isEmpty()) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user