Added VSimpleCurve to list of valid objects to call a visualization.
--HG-- branch : develop
This commit is contained in:
parent
05fdbcf8f5
commit
7aca6d8179
|
@ -32,7 +32,7 @@
|
||||||
#include <QWheelEvent>
|
#include <QWheelEvent>
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QScrollBar>
|
#include <QScrollBar>
|
||||||
#include "vsimplepoint.h"
|
#include "vsimplecurve.h"
|
||||||
#include "vmaingraphicsscene.h"
|
#include "vmaingraphicsscene.h"
|
||||||
|
|
||||||
#include <QGraphicsItem>
|
#include <QGraphicsItem>
|
||||||
|
@ -402,7 +402,7 @@ void VMainGraphicsView::mousePressEvent(QMouseEvent *mousePress)
|
||||||
{
|
{
|
||||||
if (this->scene()->items().contains(list.at(i)))
|
if (this->scene()->items().contains(list.at(i)))
|
||||||
{
|
{
|
||||||
if (list.at(i)->type() <= VSimplePoint::Type &&
|
if (list.at(i)->type() <= VSimpleCurve::Type &&
|
||||||
list.at(i)->type() > QGraphicsItem::UserType)
|
list.at(i)->type() > QGraphicsItem::UserType)
|
||||||
{
|
{
|
||||||
emit itemClicked(list.at(i));
|
emit itemClicked(list.at(i));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user