Commit e3333de8 authored by Martin Schultz's avatar Martin Schultz
Browse files

Removed deletion of toolbox widget and icon from the destructor.

The toolbox item is not owned by the plugin after it was added.
parent 09bdd0d1
......@@ -55,10 +55,6 @@ toolIcon_(0)
PluginAlignMeshes::~PluginAlignMeshes() {
if ( OpenFlipper::Options::gui()) {
delete toolBox_;
delete toolIcon_;
void PluginAlignMeshes::initializePlugin() {
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