Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
RemoveRow() method of a QSqlTableModel object
freecamellia last edited by
The removeRow() method works well in the constructor, it remove the concerning row. Why it doesn't in a custom slot.
Chris H last edited by
Have you tried checking the return value (it's a boolean, I believe), and if false checking lastError() to see if it contains info about the failure?