Ref T639, unify the connect buttons

* toggle connection from button bar directly -> public
* use Qt::QueuedConnection
* allow to reset values
This commit is contained in:
Klaus Basan
2019-04-27 01:41:23 +02:00
parent 12953321da
commit 9a0f2263cc
4 changed files with 28 additions and 19 deletions

View File

@@ -231,7 +231,8 @@ void SwiftGuiStd::loginRequested()
if (ui->sw_MainMiddle->currentIndex() == static_cast<int>(MainPageLogin))
{
// already main page, we fake a re-trigger here
emit this->currentMainInfoAreaChanged(ui->sw_MainMiddle->currentWidget());
// emit this->currentMainInfoAreaChanged(ui->sw_MainMiddle->currentWidget());
ui->comp_Login->toggleNetworkConnection();
}
else
{