Changeset - d4acccec104c
[Not reviewed]
Mehmet Aslan - 7 years ago 2019-03-24 12:59:17
aaslan-mehmet@hotmail.com
Bug; when loading number of databits, parity setting used. Fixed.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/portcontrol.cpp
Show inline comments
 
@@ -550,7 +550,7 @@ void PortControl::loadSettings(QSettings
 
    parityButtons.button(paritySetting)->setChecked(true);
 

	
 
    // load number of bits
 
    int dataBits = settings->value(SG_Port_Parity, dataBitsButtons.checkedId()).toInt();
 
    int dataBits = settings->value(SG_Port_DataBits, dataBitsButtons.checkedId()).toInt();
 
    if (dataBits >=5 && dataBits <= 8)
 
    {
 
        dataBitsButtons.button((QSerialPort::DataBits) dataBits)->setChecked(true);
0 comments (0 inline, 0 general)