Ref T659, hide icon if read only

This commit is contained in:
Klaus Basan
2019-08-06 11:29:54 +02:00
committed by Mat Sutcliffe
parent b33fe9048a
commit 86db7f18d8

View File

@@ -84,7 +84,7 @@ namespace BlackGui
void CAirportSmallCompleter::setReadOnly(bool readOnly)
{
ui->le_Icao->setReadOnly(readOnly);
ui->pb_Dialog->setEnabled(!readOnly);
ui->pb_Dialog->setVisible(!readOnly);
}
void CAirportSmallCompleter::clear()