Change button caption from "Buy" to "Create" when self-enchanting

This commit is contained in:
scrawl 2014-07-26 01:03:27 +02:00
parent 09607f992e
commit 9c60e4d826

View file

@ -144,6 +144,8 @@ namespace MWGui
mEnchanting.setSelfEnchanting(false);
mEnchanting.setEnchanter(actor);
mBuyButton->setCaptionWithReplacing("#{sBuy}");
mPtr = actor;
startEditing ();
@ -156,6 +158,8 @@ namespace MWGui
mEnchanting.setSelfEnchanting(true);
mEnchanting.setEnchanter(player);
mBuyButton->setCaptionWithReplacing("#{sCreate}");
mPtr = player;
startEditing();
mEnchanting.setSoulGem(soulgem);