summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/spellshortcutcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp
index 88d3d26ef..f7ee1bdf0 100644
--- a/src/gui/widgets/spellshortcutcontainer.cpp
+++ b/src/gui/widgets/spellshortcutcontainer.cpp
@@ -232,7 +232,7 @@ void SpellShortcutContainer::mousePressed(MouseEvent &event)
if (eventButton == MouseButton::LEFT)
{
const int itemId = getItemByIndex(index);
- if (itemId > 0)
+ if (itemId >= 0)
mSpellClicked = true;
event.consume();
}