diff --git a/src/ui/newtilesetdialog.cpp b/src/ui/newtilesetdialog.cpp index a2d5f3f4..0639fab3 100644 --- a/src/ui/newtilesetdialog.cpp +++ b/src/ui/newtilesetdialog.cpp @@ -11,7 +11,7 @@ NewTilesetDialog::NewTilesetDialog(Project* project, QWidget *parent) : this->setFixedSize(this->width(), this->height()); this->project = project; //only allow characters valid for a symbol - QRegExp expression("[-_.A-Za-z0-9]+$"); + QRegExp expression("[_A-Za-z0-9]+$"); QRegExpValidator *validator = new QRegExpValidator(expression); this->ui->nameLineEdit->setValidator(validator);