mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 23:14:20 +08:00
fixed: Bug #2836 - Unable to begin screen name or alias with numbers
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user