#include "rs_actionmodifyentity.h"
#include "rs_dialogfactory.h"
-#include "rs_graphicview.h"
+#include "graphicview.h"
RS_ActionModifyEntity::RS_ActionModifyEntity(RS_EntityContainer & container,
- RS_GraphicView & graphicView):
+ GraphicView & graphicView):
RS_ActionInterface("Modify Entity", container, graphicView)
{
en = NULL;
void RS_ActionModifyEntity::mouseReleaseEvent(QMouseEvent * e)
{
- if (RS2::qtToRsButtonState(e->button()) == RS2::RightButton)
+ if (e->button() == Qt::RightButton)
init(getStatus() - 1);
else
{