Commit 71f0eba3 authored by Scott Petrovic's avatar Scott Petrovic

bug 333462 update menu item labels for sizing canvas by layer or selection

parent 6bc1d529
......@@ -315,7 +315,7 @@ void KisLayerManager::setup(KisActionManager* actionManager)
actionManager->addAction("save_groups_as_images", m_groupLayersSave);
connect(m_groupLayersSave, SIGNAL(triggered()), this, SLOT(saveGroupLayers()));
m_imageResizeToLayer = new KisAction(i18n("Size Canvas to Size of Current Layer"), this);
m_imageResizeToLayer = new KisAction(i18n("Trim to Current Layer"), this);
m_imageResizeToLayer->setActivationFlags(KisAction::ACTIVE_LAYER);
actionManager->addAction("resizeimagetolayer", m_imageResizeToLayer);
connect(m_imageResizeToLayer, SIGNAL(triggered()), this, SLOT(imageResizeToActiveLayer()));
......
......@@ -218,7 +218,7 @@ void KisSelectionManager::setup(KActionCollection * collection, KisActionManager
m_toggleDisplaySelection->setChecked(true);
m_imageResizeToSelection = new KisAction(i18n("Size Canvas to Size of Selection"), this);
m_imageResizeToSelection = new KisAction(i18n("Trim to Selection"), this);
m_imageResizeToSelection->setActivationFlags(KisAction::PIXELS_SELECTED);
actionManager->addAction("resizeimagetoselection", m_imageResizeToSelection);
connect(m_imageResizeToSelection, SIGNAL(triggered()), this, SLOT(imageResizeToSelection()));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment