Fixed #798 Problems deleting items in multi-line widgets