diff --git a/private/desktoptoolbox.cpp b/private/desktoptoolbox.cpp index 2bad27322..2c399a9cf 100644 --- a/private/desktoptoolbox.cpp +++ b/private/desktoptoolbox.cpp @@ -566,7 +566,9 @@ void DesktopToolBox::adjustToolBackerGeometry() (viewTransform().m11() == Plasma::scalingFactor(Plasma::DesktopZoom) || icon->action() == d->containment->action("add sibling containment") || icon->action() == d->containment->action("add widgets"))) { - icon->setText(icon->action()->text()); + if (icon->action()) { + icon->setText(icon->action()->text()); + } } else { icon->setText(QString()); }