kopia lustrzana https://github.com/FreeSpacenav/spnavcfg
fixed crash when clicking on the serial device checkbox while the serial
device is not configured (closing issue #18).pull/24/head
rodzic
6dc5f9c5c8
commit
7316c7a58c
|
@ -464,7 +464,8 @@ void MainWin::chk_changed(int checked)
|
|||
}
|
||||
|
||||
if(src == ui->chk_serial) {
|
||||
*cfg.serdev = 0;
|
||||
free(cfg.serdev);
|
||||
cfg.serdev = 0;
|
||||
spnav_cfg_set_serial(cfg.serdev);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue