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:
parent
09607f992e
commit
9c60e4d826
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user