mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-02-04 05:44:45 +01:00
Fixed weird source deselect bug
This commit is contained in:
parent
7506e45d3b
commit
ce448d6852
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user