Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Fred Fonkle
Krita
Commits
52c1cfcf
Commit
52c1cfcf
authored
Sep 19, 2016
by
Eugene Ingerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check pointer before using it. Fixing assert when image is open from command line.
parent
300a4bc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
plugins/dockers/defaultdockers/kis_layer_box.cpp
plugins/dockers/defaultdockers/kis_layer_box.cpp
+2
-1
No files found.
plugins/dockers/defaultdockers/kis_layer_box.cpp
View file @
52c1cfcf
...
...
@@ -397,7 +397,8 @@ void KisLayerBox::updateUI()
KisNodeSP
activeNode
=
m_nodeManager
->
activeNode
();
if
(
activeNode
!=
m_activeNode
)
{
m_activeNode
->
disconnect
(
this
);
if
(
!
m_activeNode
.
isNull
()
)
m_activeNode
->
disconnect
(
this
);
m_activeNode
=
activeNode
;
KisKeyframeChannel
*
opacityChannel
=
activeNode
->
getKeyframeChannel
(
KisKeyframeChannel
::
Opacity
.
id
(),
false
);
...
...
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