SYNERGY-799 Fixed issue with screen name validation
This commit is contained in:
parent
95d9ce36dc
commit
65889f809b
1 changed files with 2 additions and 3 deletions
|
|
@ -36,9 +36,8 @@ bool ScreenDuplicationsValidator::validate(const QString& input) const
|
|||
{
|
||||
for (const auto& screen : (*m_pScreenList))
|
||||
{
|
||||
if (!screen.isNull() &&
|
||||
input != m_defaultName &&
|
||||
input == screen.name())
|
||||
if (!screen.isNull() && !screen.isServer() &&
|
||||
input != m_defaultName && input == screen.name())
|
||||
{
|
||||
result = false;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue