How to deny change in QAbstractItemView::currentChanged()
Unsolved
General and Desktop
-
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.
TIA
-
Hi,
What usually happens is that the modification saving is done when the cell loses focus. Do you have a special editor ?