1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00

Use QPersistentModelIndex to react to model changes

This commit is contained in:
Andrei Kortunov 2024-07-26 09:57:35 +04:00
parent 355dd0bccf
commit 21db4219de

View File

@ -81,7 +81,7 @@ namespace CSVWorld
CSMWorld::ColumnBase::Display mDisplay;
std::optional<QModelIndex> mIndex;
std::optional<QPersistentModelIndex> mIndex;
public:
DialogueDelegateDispatcherProxy(QWidget* editor, CSMWorld::ColumnBase::Display display);