mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-02 12:02:25 +12:00
Set templateIndex to none when marked as deleted
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
parent
14392909c3
commit
79ba7b59ed
|
@ -277,6 +277,7 @@ class welcome(QWidget, Ui_welcome):
|
|||
i = l.takeAt(0)
|
||||
if i.widget():
|
||||
i.widget().deleteLater()
|
||||
i.widget().setProperty("templateIndex", None)
|
||||
if i.layout():
|
||||
clearLayout(i.layout())
|
||||
|
||||
|
|
Loading…
Reference in a new issue