mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
refs #768, fixed model form selectOnly, also hide drop area when read only
Reported during #780 by RW
This commit is contained in:
@@ -156,6 +156,7 @@ namespace BlackGui
|
||||
ui->editor_AirlineIcao->setReadOnly(readOnly);
|
||||
ui->pb_SearchColor->setVisible(!readOnly);
|
||||
ui->pb_TempLivery->setVisible(!readOnly);
|
||||
ui->drop_DropData->setVisible(!readOnly);
|
||||
CGuiUtility::checkBoxReadOnly(ui->cb_Military, readOnly);
|
||||
}
|
||||
|
||||
@@ -164,6 +165,7 @@ namespace BlackGui
|
||||
this->setReadOnly(true);
|
||||
ui->comp_LiverySelector->setReadOnly(false);
|
||||
ui->editor_AirlineIcao->setSelectOnly();
|
||||
ui->drop_DropData->setVisible(true);
|
||||
}
|
||||
|
||||
void CLiveryForm::clear()
|
||||
|
||||
Reference in New Issue
Block a user