mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-27 00:42:30 +03:00
fixed: Bug #2836 - Unable to begin screen name or alias with numbers
This commit is contained in:
parent
29b48e98e3
commit
053806ce5b
@ -30,7 +30,7 @@ ScreenSettingsDialog::ScreenSettingsDialog(QWidget* parent, Screen* pScreen) :
|
||||
{
|
||||
setupUi(this);
|
||||
|
||||
QRegExp validScreenName("[a-z_][a-z0-9\\._-]{,31}", Qt::CaseInsensitive);
|
||||
QRegExp validScreenName("[a-z0-9\\._-]{,255}", Qt::CaseInsensitive);
|
||||
|
||||
m_pLineEditName->setText(m_pScreen->name());
|
||||
m_pLineEditName->setValidator(new QRegExpValidator(validScreenName, m_pLineEditName));
|
||||
|
Loading…
Reference in New Issue
Block a user