diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 20d95a055..9f11605ef 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -201,6 +201,8 @@ void SkillDialog::action(const ActionEvent &event) if (tab != nullptr) { const SkillInfo *const info = tab->getSelectedInfo(); + if (info == nullptr) + return; useSkill(info, fromBool(config.getBoolValue("skillAutotarget"), AutoTarget), info->customSelectedLevel, |