Home
Phabricator
Search
Log In
Paste
P176
Masterwork From Distant Lands
Active
Public
Actions
Authored by
dkazakov
on Mar 14 2018, 7:34 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/kis_action_manager.cpp b/libs/ui/kis_action_manager.cpp
index 40143d7..736c167 100644
--- a/libs/ui/kis_action_manager.cpp
+++ b/libs/ui/kis_action_manager.cpp
@@ -163,6 +163,8 @@ void KisActionManager::takeAction(KisAction* action)
KisAction *KisActionManager::actionByName(const QString &name) const
{
Q_FOREACH (KisAction *action, d->actions) {
+ KIS_SAFE_ASSERT_RECOVER(action) { continue; }
+
if (action->objectName() == name) {
return action;
}
dkazakov
edited the content of this paste.
(Show Details)
Mar 14 2018, 7:34 AM
dkazakov
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
dkazakov
updated the paste's language from
autodetect
to
autodetect
.
Log In to Comment