Skip to content
Permalink
Browse files
[BACKPORT] use native separators in filename edit widget (fix #2992)
  • Loading branch information
alexbruy committed Dec 13, 2011
1 parent 3f14ea8 commit cafdd637eb8550f6ddd497de7a3f4f6f1ec52d53
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/gui/qgsattributeeditor.cpp
@@ -39,6 +39,7 @@
#include <QCalendarWidget>
#include <QDialogButtonBox>
#include <QSettings>
#include <QDir>

void QgsAttributeEditor::selectFileName()
{
@@ -58,7 +59,8 @@ void QgsAttributeEditor::selectFileName()
if ( fileName.isNull() )
return;

le->setText( fileName );
//le->setText( fileName );
le->setText( QDir::toNativeSeparators( fileName ) );
}

void QgsAttributeEditor::selectDate()

0 comments on commit cafdd63

Please sign in to comment.