summaryrefslogtreecommitdiff
path: root/src/gui/skilldialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/skilldialog.cpp')
-rw-r--r--src/gui/skilldialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp
index 39be5eea7..db463f9e6 100644
--- a/src/gui/skilldialog.cpp
+++ b/src/gui/skilldialog.cpp
@@ -391,6 +391,9 @@ void SkillDialog::update()
void SkillDialog::clearSkills()
{
mTabs->removeAll();
+ mDeleteTabs.clear();
+ mDefaultModel = nullptr;
+
delete_all(mSkills);
mSkills.clear();
}