mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-19 00:41:49 +03:00
Fixed client detected dialog not shown when Synergy is minimized #4307
This commit is contained in:
parent
d7fb7b0330
commit
1f41b92693
@ -374,13 +374,16 @@ int ServerConfig::showAddClientDialog(const QString& clientName)
|
||||
{
|
||||
int result = kAddClientIgnore;
|
||||
|
||||
if (m_pMainWindow->isActiveWindow()) {
|
||||
AddClientDialog addClientDialog(clientName, m_pMainWindow);
|
||||
addClientDialog.exec();
|
||||
result = addClientDialog.addResult();
|
||||
m_IgnoreAutoConfigClient = addClientDialog.ignoreAutoConfigClient();
|
||||
if (!m_pMainWindow->isActiveWindow()) {
|
||||
m_pMainWindow->showNormal();
|
||||
m_pMainWindow->activateWindow();
|
||||
}
|
||||
|
||||
AddClientDialog addClientDialog(clientName, m_pMainWindow);
|
||||
addClientDialog.exec();
|
||||
result = addClientDialog.addResult();
|
||||
m_IgnoreAutoConfigClient = addClientDialog.ignoreAutoConfigClient();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user