mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Ref T225, force stylesheet in CForm base class and used by all forms
* Allows to use stylesheet attributes like [readonly] * changing to "readonly" applies correct stylesheet
This commit is contained in:
@@ -56,7 +56,7 @@ namespace BlackGui
|
||||
const CUser user(
|
||||
ui->le_NetworkId->text().trimmed(),
|
||||
ui->le_RealName->text().trimmed().simplified(),
|
||||
"",
|
||||
QStringLiteral(""),
|
||||
ui->le_Password->text().trimmed()
|
||||
);
|
||||
const CFsdSetup setup(ui->form_ServerFsd->getValue());
|
||||
@@ -90,6 +90,7 @@ namespace BlackGui
|
||||
ui->form_ServerFsd->setReadOnly(readOnly);
|
||||
ui->cb_ServerType->setEnabled(!readOnly);
|
||||
ui->cbp_Ecosystem->setEnabled(!readOnly);
|
||||
this->forceStyleSheetUpdate();
|
||||
}
|
||||
|
||||
void CServerForm::showPasswordField(bool show)
|
||||
|
||||
Reference in New Issue
Block a user