Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update store/delete template tooltip.

  • Loading branch information...
commit 962bb6d2193468fba091f7114fe1c40c9abd44a9 1 parent 4f1b79d
@cybersphinx cybersphinx authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/design.cpp
View
4 src/design.cpp
@@ -628,7 +628,7 @@ static bool _intAddDesign( bool bShowCentreScreen )
sButInit.height = iV_GetImageHeight(IntImages, IMAGE_DES_SAVE);
sButInit.x = DES_PARTSEPARATIONX;
sButInit.y = DES_PARTFORMHEIGHT - 2*sButInit.height - 2*DES_PARTSEPARATIONY;
- sButInit.pTip = _("Store Design");
+ sButInit.pTip = _("Store Template");
sButInit.FontID = font_regular;
sButInit.pDisplay = intDisplayButtonHilight;
sButInit.UserData = PACKDWORD_TRI(0, IMAGE_DES_SAVEH, IMAGE_DES_SAVE);
@@ -4690,10 +4690,12 @@ void updateStoreButton(bool isStored)
if (isStored)
{
imageset = PACKDWORD_TRI(0, IMAGE_DES_DELETEH, IMAGE_DES_DELETE);
+ widgSetTipText(widgGetFromID(psWScreen, IDDES_STOREBUTTON), _("Delete Template"));
}
else
{
imageset = PACKDWORD_TRI(0, IMAGE_DES_SAVEH, IMAGE_DES_SAVE);
+ widgSetTipText(widgGetFromID(psWScreen, IDDES_STOREBUTTON), _("Store Template"));
}
widgSetUserData2(psWScreen, IDDES_STOREBUTTON, imageset);
Please sign in to comment.
Something went wrong with that request. Please try again.