#4983 Fix drag zoom on Summary and Grid cross plots

This commit is contained in:
Gaute Lindkvist
2019-11-05 08:27:35 +01:00
parent 7d817d0277
commit c7b5957571
7 changed files with 67 additions and 9 deletions

View File

@@ -19,6 +19,8 @@
#include "qwt_plot_zoomer.h"
#include <QMouseEvent>
class RiuQwtPlotZoomer : public QwtPlotZoomer
{
public:
@@ -35,6 +37,11 @@ public:
return accept( currentSelection );
}
void endZoomOperation()
{
reset();
}
protected:
QSizeF minZoomSize() const override
{