]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/rs_actionselect.cpp
Refactored CAD tool bars to use predefined actions.
[architektonas] / src / actions / rs_actionselect.cpp
index 1fe684a39549a57acbb3b7228d8d6be4d64d96fc..83077c7d54046ecce984ddf3331d36b74ac08b10 100644 (file)
@@ -18,7 +18,8 @@
 #include "rs_dialogfactory.h"
 #include "graphicview.h"
 
-RS_ActionSelect::RS_ActionSelect(RS_EntityContainer & container, GraphicView & graphicView, RS2::ActionType nextAction):
+RS_ActionSelect::RS_ActionSelect(RS_EntityContainer & container, GraphicView & graphicView,
+       RS2::ActionType nextAction):
        RS_ActionInterface("Select Entities", container, graphicView)
 {
        this->nextAction = nextAction;
@@ -42,7 +43,7 @@ void RS_ActionSelect::mouseReleaseEvent(QMouseEvent * e)
 
 void RS_ActionSelect::updateToolBar()
 {
-       if (RS_DIALOGFACTORY != NULL)
+       if (RS_DIALOGFACTORY)
        {
                if (!isFinished())
                        RS_DIALOGFACTORY->requestToolBarSelect(this, nextAction);