Fix Segfault with Extra Widgets

This commit is contained in:
Florian Märkl 2019-04-14 14:03:54 +02:00
parent 5b0ef4c445
commit 34387c74b1

View File

@ -17,7 +17,9 @@ void MemoryDockWidget::handleRaiseMemoryWidget(CutterCore::MemoryWidgetType rais
} }
if (raiseType == mType) { if (raiseType == mType) {
if (getBoundAction()) {
getBoundAction()->setChecked(true); getBoundAction()->setChecked(true);
}
show(); show();
raise(); raise();