diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-21 20:36:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-21 20:37:02 +0300 |
commit | e465ecdf0c7f867a62236a5a0945a85f35eee039 (patch) | |
tree | 7bc97c683d542f11a1f5b069e77cf70f552d14fe /src/gui/widgets/itemlinkhandler.cpp | |
parent | 862e8f821789014b6167f37976b80694d6d310e3 (diff) | |
download | manaplus-e465ecdf0c7f867a62236a5a0945a85f35eee039.tar.gz manaplus-e465ecdf0c7f867a62236a5a0945a85f35eee039.tar.bz2 manaplus-e465ecdf0c7f867a62236a5a0945a85f35eee039.tar.xz manaplus-e465ecdf0c7f867a62236a5a0945a85f35eee039.zip |
Show item options in item popups.
Diffstat (limited to 'src/gui/widgets/itemlinkhandler.cpp')
-rw-r--r-- | src/gui/widgets/itemlinkhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/itemlinkhandler.cpp b/src/gui/widgets/itemlinkhandler.cpp index b2e4a89c9..90a26a4a0 100644 --- a/src/gui/widgets/itemlinkhandler.cpp +++ b/src/gui/widgets/itemlinkhandler.cpp @@ -154,7 +154,8 @@ void ItemLinkHandler::handleItemLink(const std::string &link) ItemColorManager::getColorFromCards(&str[0]); const ItemInfo &itemInfo = ItemDB::get(id); - itemPopup->setItem(itemInfo, color, true, -1, &str[0]); + // +++ need add support for options. + itemPopup->setItem(itemInfo, color, true, -1, &str[0], nullptr); if (itemPopup->isPopupVisible()) { itemPopup->setVisible(Visible_false); |