Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Krita
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Miguel Lopez
Krita
Commits
71f0eba3
Commit
71f0eba3
authored
Jan 12, 2015
by
Scott Petrovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 333462 update menu item labels for sizing canvas by layer or selection
parent
6bc1d529
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
krita/ui/kis_layer_manager.cc
krita/ui/kis_layer_manager.cc
+1
-1
krita/ui/kis_selection_manager.cc
krita/ui/kis_selection_manager.cc
+1
-1
No files found.
krita/ui/kis_layer_manager.cc
View file @
71f0eba3
...
...
@@ -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
()));
...
...
krita/ui/kis_selection_manager.cc
View file @
71f0eba3
...
...
@@ -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
()));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment