Home
Phabricator
Search
Log In
Paste
P262
Masterwork From Distant Lands
Active
Public
Actions
Authored by
dkazakov
on Oct 3 2018, 9:08 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
diff --git a/libs/ui/KisViewManager.cpp b/libs/ui/KisViewManager.cpp
index a3f325f..6d6bc61 100644
--- a/libs/ui/KisViewManager.cpp
+++ b/libs/ui/KisViewManager.cpp
@@ -1400,7 +1400,7 @@ void KisViewManager::slotActivateTransformTool()
// Start a new stroke
tool->deactivate();
tool->activate(KoToolBase::DefaultActivation, dummy);
+ } else {
+ KoToolManager::instance()->switchToolRequested("KisToolTransform");
}
-
- KoToolManager::instance()->switchToolRequested("KisToolTransform");
}
diff --git a/libs/ui/actions/KisPasteActionFactory.cpp b/libs/ui/actions/KisPasteActionFactory.cpp
index c72b54f..55a3f27 100644
--- a/libs/ui/actions/KisPasteActionFactory.cpp
+++ b/libs/ui/actions/KisPasteActionFactory.cpp
@@ -248,7 +248,7 @@ void KisPasteActionFactory::run(bool pasteAtCursorPosition, KisViewManager *view
ap->applyCommand(deselectCmd, KisStrokeJobData::SEQUENTIAL, KisStrokeJobData::NORMAL);
KUndo2Command *transformToolCmd = new KisTransformToolActivationCommand(view);
- ap->applyCommand(transformToolCmd, KisStrokeJobData::SEQUENTIAL, KisStrokeJobData::NORMAL);
+ ap->applyCommand(transformToolCmd, KisStrokeJobData::BARRIER, KisStrokeJobData::NORMAL);
endAction(ap, KisOperationConfiguration(id()).toXML());
} else {
dkazakov
edited the content of this paste.
(Show Details)
Oct 3 2018, 9:08 AM
dkazakov
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
dkazakov
mentioned this in
D15737: Jumping to transform after pasting
.
Oct 3 2018, 9:10 AM
Log In to Comment