mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 16:20:21 +00:00
Removed validator for filenames in OpenMW-CS (Fixes #2918)
(cherry picked from commit b74b274ac0e88ad7c833b908bb301dee3986264f)
This commit is contained in:
parent
30b28bfd07
commit
0366a05649
@ -16,7 +16,6 @@ CSVDoc::FileWidget::FileWidget (QWidget *parent) : QWidget (parent), mAddon (fal
|
|||||||
QHBoxLayout *layout = new QHBoxLayout (this);
|
QHBoxLayout *layout = new QHBoxLayout (this);
|
||||||
|
|
||||||
mInput = new QLineEdit (this);
|
mInput = new QLineEdit (this);
|
||||||
mInput->setValidator (new QRegExpValidator(QRegExp("^[a-zA-Z0-9_-\\s]*$")));
|
|
||||||
|
|
||||||
layout->addWidget (mInput, 1);
|
layout->addWidget (mInput, 1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user