Skip to content

Commit

Permalink
[GRASS] removed regexp on field option to allow expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Sep 17, 2015
1 parent 77b3793 commit 754f2dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/grass/qgsgrassmoduleparam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 754f2dc

Please sign in to comment.