#6471 Stopped gui locking into retry loop
This commit is contained in:
parent
82d5733c09
commit
6870af8eb7
|
@ -932,7 +932,7 @@ void MainWindow::setSynergyState(qSynergyState state)
|
||||||
if (synergyState() == state)
|
if (synergyState() == state)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if ((state == synergyConnected) || (state == synergyConnecting) || (state == synergyListening))
|
if ((state == synergyConnected) || (state == synergyListening))
|
||||||
{
|
{
|
||||||
disconnect (m_pButtonToggleStart, SIGNAL(clicked()), m_pActionStartSynergy, SLOT(trigger()));
|
disconnect (m_pButtonToggleStart, SIGNAL(clicked()), m_pActionStartSynergy, SLOT(trigger()));
|
||||||
connect (m_pButtonToggleStart, SIGNAL(clicked()), m_pActionStopSynergy, SLOT(trigger()));
|
connect (m_pButtonToggleStart, SIGNAL(clicked()), m_pActionStopSynergy, SLOT(trigger()));
|
||||||
|
|
Loading…
Reference in New Issue