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 19676d3 commit 9f19631191b9eecd65877655a1c2734bdee8b779
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsfilewidget.cpp
@@ -176,7 +176,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 9f19631

Please sign in to comment.