mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-25 12:07:49 +02:00
Fixed weird source deselect bug
This commit is contained in:
@ -22,6 +22,9 @@ void SourceManager::unregisterSource(std::string name) {
|
||||
}
|
||||
onSourceUnregister.emit(name);
|
||||
if (name == selectedName) {
|
||||
if (selectedHandler != NULL) {
|
||||
sources[selectedName]->deselectHandler(sources[selectedName]->ctx);
|
||||
}
|
||||
sigpath::signalPath.setInput(&nullSource);
|
||||
selectedHandler = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user