1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 03:54:40 +00:00

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);