cellOskDialog/osk_dialog_frame: fix regexp for CELL_OSKDIALOG_NO_SPACE

This commit is contained in:
Megamouse 2019-01-16 19:40:47 +01:00 committed by Ivan
parent f902a7867c
commit 5ed718110a

View file

@ -74,7 +74,7 @@ void osk_dialog_frame::Create(const std::string& title, const std::u16string& me
if (options & CELL_OSKDIALOG_NO_SPACE)
{
input->setValidator(new QRegExpValidator(QRegExp("^\S*$"), this));
input->setValidator(new QRegExpValidator(QRegExp("^\\S*$"), this));
}
connect(input, &QLineEdit::textChanged, [=](const QString& text)