Skip to content

Commit

Permalink
fix marker on replot
Browse files Browse the repository at this point in the history
  • Loading branch information
sunderme committed Jul 22, 2023
1 parent f6ffa64 commit 668bb75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,7 @@ void MainWindow::plotSelected()
if(m_logy){
chartView->setLogY(true);
}
chartView->updateMarker();
}
/*!
* \brief plot if changed to plot tab
Expand Down Expand Up @@ -1413,7 +1414,6 @@ bool MainWindow::parseQuery(const QString &text, const QString &data,const Colum
int operatorType=determineOperator(q,reference);
if(operatorType<-10) continue; // unknown operator
bool res_query=true;
bool handled=false;
if(operatorType>=10){
if(operatorType==10){
// contains ...
Expand Down
2 changes: 1 addition & 1 deletion src/zoomablechartview.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class ZoomableChartView : public QChartView
void addVerticalMarker();
void addHorizontalMarker();
void addMarker(bool markerB=false);
void updateMarker();

bool deleteSelectedMarker();
bool deleteSelectedSeries();
Expand All @@ -67,7 +68,6 @@ protected slots:
void legendMarkerHovered(bool hover);
void seriesClicked(const QPointF &point);
void seriesHovered(const QPointF &point,bool state);
void updateMarker();
void keepCallout();
void tooltip(QPointF point, bool state);

Expand Down

0 comments on commit 668bb75

Please sign in to comment.