Commit 392f8678 authored by Olivier Goffart's avatar Olivier Goffart
Browse files

qmlobserver: fix crash in -frameless

parent 573006f3
......@@ -659,7 +659,8 @@ QDeclarativeViewer::~QDeclarativeViewer()
void QDeclarativeViewer::setDesignModeBehavior(bool value)
{
designModeBehaviorAction->setChecked(value);
if (designModeBehaviorAction)
designModeBehaviorAction->setChecked(value);
canvas->setDesignModeBehavior(value);
}
......
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