diff options
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index e7e866491..1bfa0e3e1 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -2373,13 +2373,10 @@ void PopupMenu::showSkillPopup(const SkillInfo *const info) // TRANSLATORS: popup menu header mBrowserBox->addRow(_("Skill")); - if (info->level > 1) - { - mBrowserBox->addRow("/showskilllevels 'ITEMID'", - // TRANSLATORS: popup menu item - // TRANSLATORS: set skill level - _("Skill level...")); - } + mBrowserBox->addRow("/showskilllevels 'ITEMID'", + // TRANSLATORS: popup menu item + // TRANSLATORS: set skill level + _("Skill level...")); mBrowserBox->addRow("/showskilltypes 'ITEMID'", // TRANSLATORS: popup menu item // TRANSLATORS: set skill cast type @@ -2393,7 +2390,7 @@ void PopupMenu::showSkillPopup(const SkillInfo *const info) void PopupMenu::showSkillLevelPopup(const SkillInfo *const info) { - if (!info || info->level <= 1) + if (!info) return; setMousePos(); |