From 801afd0eeb01088ddf0fbe17f442a214d18865b7 Mon Sep 17 00:00:00 2001 From: Paddle Date: Fri, 24 Mar 2023 12:58:35 +0100 Subject: [PATCH] Preferences: Workbench : Replace the functions used to retrieve the list of enabled wb --- src/Gui/Action.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Gui/Action.cpp b/src/Gui/Action.cpp index d2bb7ba96d..c31194a3b3 100644 --- a/src/Gui/Action.cpp +++ b/src/Gui/Action.cpp @@ -48,7 +48,7 @@ #include "BitmapFactory.h" #include "Command.h" #include "DlgUndoRedo.h" -#include "DlgWorkbenchesImp.h" +#include "DlgSettingsLazyLoadedImp.h" #include "Document.h" #include "EditorView.h" #include "FileDialog.h" @@ -801,8 +801,8 @@ void WorkbenchGroup::setWorkbenchData(int index, const QString& wb) void WorkbenchGroup::refreshWorkbenchList() { QStringList items = Application::Instance->workbenches(); - QStringList enabled_wbs_list = DlgWorkbenchesImp::load_enabled_workbenches(); - QStringList disabled_wbs_list = DlgWorkbenchesImp::load_disabled_workbenches(); + QStringList enabled_wbs_list = DlgSettingsLazyLoadedImp::getEnabledWorkbenches(); + QStringList disabled_wbs_list = DlgSettingsLazyLoadedImp::getDisabledWorkbenches(); QStringList enable_wbs; // Go through the list of enabled workbenches and verify that they really exist because