mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 22:29:13 +08:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user