Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to deny change in QAbstractItemView::currentChanged()
mr19 last edited by
When I receive the currentChanged signal there are instances where I do not want to allow the user to switch selections (for example when they have modified something without saving).
How do I disallow this? Tried doing a selectionModel->select(previous, QItemSelectionModel.Select) without any luck.
What usually happens is that the modification saving is done when the cell loses focus. Do you have a special editor ?