mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Ref T682 Don't convert text codec name to lower case, as it is case sensitive.
This commit is contained in:
@@ -37,7 +37,7 @@ namespace BlackGui
|
||||
CFsdSetup CFsdSetupForm::getValue() const
|
||||
{
|
||||
if (!this->isEnabled()) { return this->getDisabledValue(); }
|
||||
CFsdSetup s(ui->le_TextCodec->text().trimmed().toLower());
|
||||
CFsdSetup s(ui->le_TextCodec->text().trimmed());
|
||||
s.setSendReceiveDetails(
|
||||
ui->cb_AircraftPartsSend->isChecked(), ui->cb_AircraftPartsReceive->isChecked(),
|
||||
ui->cb_GndFlagSend->isChecked(), ui->cb_GndFlagReceive->isChecked(),
|
||||
|
||||
@@ -78,7 +78,7 @@ namespace BlackMisc
|
||||
const QString &getTextCodec() const { return m_textCodec; }
|
||||
|
||||
//! Set codec
|
||||
void setTextCodec(const QString &codec) { m_textCodec = codec.trimmed().toLower(); }
|
||||
void setTextCodec(const QString &codec) { m_textCodec = codec.trimmed(); }
|
||||
|
||||
//! Get send / receive details
|
||||
SendReceiveDetails getSendReceiveDetails() const;
|
||||
|
||||
Reference in New Issue
Block a user