New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qt6 - multiple device sets do not load correctly #2061
Comments
2024-04-08 17:32:15.410 (D) MainWindow::MainWindow: load current configuration... Unknown preset type is perhaps the problem. |
The problem is in the Preset copy constructor:
It doesn't copy all of the members. It's missing some of:
Are some of them not meant to be copied? m_presetType and m_selectedDevice are what's causing this problem, I think. Also, the resetToDefaults method doesn't reset everything. |
It does not seem to me there is a specific reason behind these missing parts. |
When built with Qt6, if the default configuration has multiple device sets, one of the devices may not be correctly restored, when SDRangel is started (On Windows and Mac, haven't tried Linux yet).
The text was updated successfully, but these errors were encountered: