Fix signal not emitted when readOnly is True (related to #34)