mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-07 21:07:23 +08:00
SYNERGY-799 Fixed issue with screen name validation
This commit is contained in:
parent
95d9ce36dc
commit
65889f809b
@ -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 New Issue
Block a user