Skip to content
Permalink
Browse files
Backport #44798 Fix attachment widget drag&drop relative path
  • Loading branch information
domi4484 authored and nyalldawson committed Aug 26, 2021
1 parent 262e0f7 commit ab0073955026f355f78574e236bed79d3b9e7299
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsfilewidget.cpp
@@ -181,7 +181,7 @@ void QgsFileWidget::editLink()

void QgsFileWidget::fileDropped( const QString &filePath )
{
setSelectedFileNames( QStringList() << filePath );
setFilePath( relativePath( filePath, true ) );
mLineEdit->selectAll();
mLineEdit->setFocus( Qt::MouseFocusReason );
}

0 comments on commit ab00739

Please sign in to comment.