Skip to content

Commit

Permalink
remove unwanted label grid from empty graph
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Špirk committed Nov 8, 2024
1 parent 05cb2f0 commit f76a340
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 @@ -1496,7 +1496,7 @@ void Graph::drawGrid(QPainter *painter, int channel)
const GraphChannel *ch = channelAt(channel);
const XAxis &x_axis = m_state.xAxis;
if(!x_axis.isValid()) {
drawRectText(painter, ch->m_layout.graphAreaRect, "grid", m_style.font(), ch->m_effectiveStyle.colorGrid());
// drawRectText(painter, ch->m_layout.graphAreaRect, "grid", m_style.font(), ch->m_effectiveStyle.colorGrid());
return;
}
QColor gc = ch->m_effectiveStyle.colorGrid();
Expand Down

0 comments on commit f76a340

Please sign in to comment.