Permalink
Browse files

Fixed tool tips on flipping and rotating stamp actions

  • Loading branch information...
bjorn committed Jun 27, 2017
1 parent cf1ea29 commit 1679f3fd797eb1b67e1a55898c93889c7e1ba1c9
Showing with 4 additions and 10 deletions.
  1. +4 −10 src/tiled/stampactions.cpp
View
@@ -48,23 +48,17 @@ StampActions::StampActions(QObject *parent) : QObject(parent)
mFlipHorizontal = new QAction(this);
mFlipHorizontal->setIcon(flipHorizontalIcon);
mFlipHorizontal->setToolTip(tr("Flip Horizontally"));
mFlipHorizontal->setShortcut(QKeySequence(tr("X")));
mFlipVertical = new QAction(this);
mFlipVertical->setIcon(flipVerticalIcon);
mFlipHorizontal->setToolTip(tr("Flip Vertically"));
mFlipVertical->setShortcut(QKeySequence(tr("Y")));
mRotateLeft = new QAction(this);
mRotateLeft->setIcon(rotateLeftIcon);
mRotateLeft->setToolTip(tr("Rotate Left"));
mRotateLeft->setShortcut(QKeySequence(tr("Shift+Z")));
mRotateRight = new QAction(this);
mRotateRight->setIcon(rotateRightIcon);
mRotateLeft->setToolTip(tr("Rotate Right"));
mRotateRight->setShortcut(QKeySequence(tr("Z")));
languageChanged();
}
StampActions::~StampActions()
@@ -75,9 +69,9 @@ void StampActions::languageChanged()
{
mRandom->setToolTip(tr("Random Mode"));
mFlipHorizontal->setToolTip(tr("Flip Horizontally"));
mFlipHorizontal->setToolTip(tr("Flip Vertically"));
mFlipVertical->setToolTip(tr("Flip Vertically"));
mRotateLeft->setToolTip(tr("Rotate Left"));
mRotateLeft->setToolTip(tr("Rotate Right"));
mRotateRight->setToolTip(tr("Rotate Right"));
mRandom->setShortcut(QKeySequence(tr("D")));
mFlipHorizontal->setShortcut(QKeySequence(tr("X")));

0 comments on commit 1679f3f

Please sign in to comment.