Fixed race condition for updating zeroconf service
This commit is contained in:
parent
56b3231a6c
commit
471e198efc
|
@ -833,14 +833,18 @@ void MainWindow::serverDetected(const QString name)
|
|||
void MainWindow::on_m_pGroupClient_toggled(bool on)
|
||||
{
|
||||
m_pGroupServer->setChecked(!on);
|
||||
if (on) {
|
||||
updateZeroconfService();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::on_m_pGroupServer_toggled(bool on)
|
||||
{
|
||||
m_pGroupClient->setChecked(!on);
|
||||
if (on) {
|
||||
updateZeroconfService();
|
||||
}
|
||||
}
|
||||
|
||||
bool MainWindow::on_m_pButtonBrowseConfigFile_clicked()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue