mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
BugFix: prevent visitors for failed sources. Avoid duplicate list of
source ids.
This commit is contained in:
@@ -393,7 +393,8 @@ void DeviceSource::setDevice(const std::string &devicename)
|
||||
void DeviceSource::accept(Visitor& v)
|
||||
{
|
||||
Source::accept(v);
|
||||
v.visit(*this);
|
||||
if (!failed())
|
||||
v.visit(*this);
|
||||
}
|
||||
|
||||
bool DeviceSource::failed() const
|
||||
|
||||
Reference in New Issue
Block a user