Gui: when closing application remove all manipulators

This commit is contained in:
wmayer
2023-10-05 16:28:18 +02:00
committed by Yorik van Havre
parent cb786fcbcd
commit 754a047070
3 changed files with 12 additions and 0 deletions

View File

@@ -126,6 +126,7 @@
#include "WaitCursor.h"
#include "Workbench.h"
#include "WorkbenchManager.h"
#include "WorkbenchManipulator.h"
#include "WidgetFactory.h"
@@ -537,6 +538,7 @@ Application::~Application()
{
Base::Console().Log("Destruct Gui::Application\n");
WorkbenchManager::destruct();
WorkbenchManipulator::removeAll();
SelectionSingleton::destruct();
Translator::destruct();
WidgetFactorySupplier::destruct();