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))
|
for (const auto& screen : (*m_pScreenList))
|
||||||
{
|
{
|
||||||
if (!screen.isNull() &&
|
if (!screen.isNull() && !screen.isServer() &&
|
||||||
input != m_defaultName &&
|
input != m_defaultName && input == screen.name())
|
||||||
input == screen.name())
|
|
||||||
{
|
{
|
||||||
result = false;
|
result = false;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue