From 57bea92f75e60864079d46e77514e9faf1ab2f08 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 28 Sep 2017 15:46:36 +0000 Subject: [PATCH] Clean up the display of "Controls" checkbox on Wide Graph. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8132 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- plotter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plotter.cpp b/plotter.cpp index 6eb4bc41e..53a25024f 100644 --- a/plotter.cpp +++ b/plotter.cpp @@ -355,7 +355,7 @@ void CPlotter::DrawOverlay() //DrawOverlay() //draw frequency values for( int i=0; i<=m_hdivs; i++) { x = (int)((m_xOffset+i)*pixperdiv - pixperdiv/2); - if(x > 40 and x < m_w) { + if(int(x+pixperdiv/2) > 70) { rect0.setRect(x,0, (int)pixperdiv, 20); painter0.drawText(rect0, Qt::AlignHCenter|Qt::AlignVCenter,m_HDivText[i]); }