Point user to home directory when add a background image.

This commit is contained in:
Roman Telezhynskyi 2022-02-01 19:44:42 +02:00
parent 5dc07b753a
commit 11b8ba9e78

View File

@ -3679,7 +3679,7 @@ void MainWindow::on_actionUpdateManualLayout_triggered()
//---------------------------------------------------------------------------------------------------------------------
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,
VAbstractApplication::VApp()->NativeFileDialog());
if (not fileName.isEmpty())