mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-04-10 09:40:41 +02:00
Adjustment to MappingManager::getVisibleLayers() so that solo-ed layers that are not-visible don't show.
This commit is contained in:
@@ -140,7 +140,7 @@ QVector<Mapping::ptr> MappingManager::getVisibleMappings() const
|
||||
for (QVector<Mapping::ptr>::const_iterator it = mappingVector.begin(); it != mappingVector.end(); ++it)
|
||||
{
|
||||
// Solo has priority over invisible (mute)
|
||||
if ( (hasSolo && (*it)->isSolo()) || (!hasSolo && (*it)->isVisible()) )
|
||||
if ( (hasSolo && (*it)->isSolo() && (*it)->isVisible()) || (!hasSolo && (*it)->isVisible()) )
|
||||
visible.push_back(*it);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user