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 4739733 commit 650a6bbea68db280f2ab7685d4975ba41c62e77b
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 650a6bb

Please sign in to comment.