Skip to content

Commit

Permalink
Merge pull request #352 from PetrZidek/hide-channels-without-changes-…
Browse files Browse the repository at this point in the history
…hides-everything

Fixed: hide channels without changes hides everything
  • Loading branch information
fvacek authored Oct 6, 2023
2 parents 3060b2f + e186ce0 commit f69bbf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libshvvisu/src/timeline/graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ QStringList Graph::channelPaths()

void Graph::hideFlatChannels()
{
QStringList matching_paths = m_channelFilter.matchingPaths();
QStringList matching_paths = (m_channelFilter.isValid()) ? m_channelFilter.matchingPaths() : channelPaths();

for (qsizetype i = 0; i < m_channels.count(); ++i) {
GraphChannel *ch = m_channels[i];
Expand Down

0 comments on commit f69bbf3

Please sign in to comment.