如何将持久委托模型索引恢复为“正常”

2024-06-28 11:24:15 发布

您现在位置:Python中文网/ 问答频道 /正文

将委托项设置为持久后,请使用:

tableView.openPersistentEditor(model.index(0, 0))

有没有可能把它恢复为“不持久的”(犹豫不决的)?你知道吗


Tags: indexmodel委托tableviewopenpersistenteditor