summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/itemcontainer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index d448c3c2..bf0272ee 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -311,7 +311,7 @@ void ItemContainer::mouseReleased(gcn::MouseEvent &event)
Mana::Event event("doMove");
event.setItem("item", item);
event.setInt("newIndex", index);
- event.trigger("Item");
+ event.trigger(CHANNEL_ITEM);
}
selectNone();
}
@@ -383,7 +383,7 @@ void ItemContainer::keyAction()
Mana::Event event("doMove");
event.setItem("item", item);
event.setInt("newIndex", mHighlightedIndex);
- event.trigger("Item");
+ event.trigger(CHANNEL_ITEM);
setSelectedIndex(mHighlightedIndex);
}
// If the highlight is on an item then select it.
@@ -399,7 +399,7 @@ void ItemContainer::keyAction()
Mana::Event event("doMove");
event.setItem("item", item);
event.setInt("newIndex", mHighlightedIndex);
- event.trigger("Item");
+ event.trigger(CHANNEL_ITEM);
selectNone();
}
}