Fix: prevent crash when closing preferences without connected device
This commit is contained in:
parent
392b06f0eb
commit
3afbf42791
@ -227,7 +227,9 @@ AppWindow::AppWindow(QWidget *parent)
|
||||
// acquisition frequencies may have changed, update
|
||||
UpdateAcquisitionFrequencies();
|
||||
|
||||
if(device) {
|
||||
active->initializeDevice();
|
||||
}
|
||||
});
|
||||
|
||||
connect(ui->actionAbout, &QAction::triggered, [=](){
|
||||
|
Loading…
Reference in New Issue
Block a user