Hi,
I'm using QSqlTableModel with a QTableView on Qt5.
When i delete a record ...
Qt Code:
  1. model->removeRows(view->currentIndex().row(), 1);
To copy to clipboard, switch view to plain text mode 
... i get a exclamation mark in the empty line.
I solved this by using...
Qt Code:
  1. model->select();
To copy to clipboard, switch view to plain text mode 

Is this the best approach?
Showldn't the view update autommaticaly?