panelview.cpp: check if container exists before setting editmode
If we're in this branch of the if, we can safely assume
that cont
is already null, since the isPanelConfig
boolean
tests for that.
Thus we shouldn't try to set the editMode off here.
This fixes crash with plasmashell when right clicking any applet (except system tray) and selecting configure. For example, digital clock.
Edited by Akseli Lahtinen