Commit 5c95fb2b authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed ugly null pointer dereference

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4209 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4d9978ee
......@@ -85,7 +85,8 @@ void Core::slotObjectUpdated(int _identifier) {
// just inform the plugins as we dont do anything else
emit signalObjectUpdated(_identifier);
object->update();
if ( object != 0 )
object->update();
// Reenable redraws
OpenFlipper::Options::redrawDisabled(false);
......
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