Point user to home directory when add a background image.
This commit is contained in:
parent
5dc07b753a
commit
11b8ba9e78
|
@ -3679,7 +3679,7 @@ void MainWindow::on_actionUpdateManualLayout_triggered()
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void MainWindow::ActionAddBackgroundImage()
|
void MainWindow::ActionAddBackgroundImage()
|
||||||
{
|
{
|
||||||
const QString fileName = QFileDialog::getOpenFileName(this, tr("Select background image"), QString(),
|
const QString fileName = QFileDialog::getOpenFileName(this, tr("Select background image"), QDir::homePath(),
|
||||||
PrepareImageFilters(), nullptr,
|
PrepareImageFilters(), nullptr,
|
||||||
VAbstractApplication::VApp()->NativeFileDialog());
|
VAbstractApplication::VApp()->NativeFileDialog());
|
||||||
if (not fileName.isEmpty())
|
if (not fileName.isEmpty())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user