Fix readonly warning when cancel was pressed
Fix readonly warning when cancel was pressed

IB-4808

Signed-off-by: Raul Metsma <8b52b6b714585648fd300da0dbc0fa0678553280@metsma.ee>

metsma/qdigidoc,open-eid/qdigidoc,metsma/qdigidoc,metsma/qdigidoc,open-eid/qdigidoc,metsma/qdigidoc