-
Friedemann Kleint authored
Implement WatchModel::data() to return the right values for Qt::EditRole, obsoleting the role matching in the delegate. Similarly, handle Qt::EditRole in setData(), leaving only 'Change watch expression' in the delegate, which removes and recreates a row, causing crashes when done in setData().
Friedemann Kleint authoredImplement WatchModel::data() to return the right values for Qt::EditRole, obsoleting the role matching in the delegate. Similarly, handle Qt::EditRole in setData(), leaving only 'Change watch expression' in the delegate, which removes and recreates a row, causing crashes when done in setData().