Modify Message.control
so that it is a @property
and not a classvar
#2528
Labels
Message.control
so that it is a @property
and not a classvar
#2528
The current implementation of the
control
property ofMessage
results in the following type error (in this case taken fromDirectoryTree.FileSelected.control
:Change this so that it is a
@property
onMessage
, like this:and then modify the
on
decorator so that it does the pre-flight check ofcontrol
by comparing the type'scontrol
withMessage.control
, raising an error if they are the same (not overridden).The text was updated successfully, but these errors were encountered: