Skip to content
Permalink
Browse files

[GRASS] removed regexp on field option to allow expressions

  • Loading branch information
blazek committed Sep 17, 2015
1 parent 77b3793 commit 754f2dc5d0c6a483055f34965ea313fd7bf4ad07
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/plugins/grass/qgsgrassmoduleparam.cpp
@@ -1074,11 +1074,14 @@ QgsGrassModuleField::QgsGrassModuleField( QgsGrassModule *module, QString key,
QDomElement &qdesc, QDomElement &gdesc, QDomNode &gnode, bool direct, QWidget * parent )
: QgsGrassModuleOption( module, key, qdesc, gdesc, gnode, direct, parent )
{
// Validator is disabled to allow to enter also expressions
#if 0
QRegExp rx( "^[a-zA-Z_][a-zA-Z0-9_]*$" );
foreach ( QLineEdit *lineEdit, mLineEdits )
{
lineEdit->setValidator( new QRegExpValidator( rx, this ) );
}
#endif
}

QgsGrassModuleField::~QgsGrassModuleField()

0 comments on commit 754f2dc

Please sign in to comment.
You can’t perform that action at this time.