Update Form Designer - Check Class Name before sending events to it.
@@ -394,8 +394,10 @@ Class FormDesignerController from WindowsControllerParent
return
}
ChangeObjectByCode(nObjectIndex-1)
+ if classname(oModel.ActiveObject()) != "formdesigner_qwidget" {
oModel.ActiveObject().MousePress(self)
}
+ }
func ActiveObjectMouseRelease nObjectID
nObjectIndex = oModel.IDToIndex(nObjectID)
@@ -404,8 +406,10 @@ Class FormDesignerController from WindowsControllerParent
oModel.GetObjectByIndex(nObjectIndex).MouseReleaseMany(self)
return
}
+ if classname(oModel.ActiveObject()) != "formdesigner_qwidget" {
oModel.ActiveObject().MouseRelease(self)
}
+ }
func ActiveObjectMouseMove nObjectID
nObjectIndex = oModel.IDToIndex(nObjectID)
@@ -414,8 +418,10 @@ Class FormDesignerController from WindowsControllerParent
oModel.GetObjectByIndex(nObjectIndex).MouseMoveMany(self)
return
}
+ if classname(oModel.ActiveObject()) != "formdesigner_qwidget" {
oModel.ActiveObject().MouseMove(self)
}
+ }
func ChangeToolBoxAction
if oView.oToolBtn1.ischecked() { # Select Mode
