From 801fae3a3902698252a23b37b23b78925daa2b2d Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Thu, 23 Nov 2017 06:12:52 +0100 Subject: [PATCH] FEM: Abaqus writer pref ui, move from FEM to Import / Export --- src/Mod/Fem/Gui/AppFemGui.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Mod/Fem/Gui/AppFemGui.cpp b/src/Mod/Fem/Gui/AppFemGui.cpp index fe7a352977..72489097f3 100644 --- a/src/Mod/Fem/Gui/AppFemGui.cpp +++ b/src/Mod/Fem/Gui/AppFemGui.cpp @@ -155,15 +155,17 @@ PyMOD_INIT_FUNC(FemGui) #endif - // register preferences pages + // register preferences pages on FEM new Gui::PrefPageProducer (QT_TRANSLATE_NOOP("QObject","FEM")); new Gui::PrefPageProducer (QT_TRANSLATE_NOOP("QObject","FEM")); - new Gui::PrefPageProducer (QT_TRANSLATE_NOOP("QObject","FEM")); new Gui::PrefPageProducer (QT_TRANSLATE_NOOP("QObject","FEM")); new Gui::PrefPageProducer (QT_TRANSLATE_NOOP("QObject","FEM")); + // register preferences pages on Import-Export + new Gui::PrefPageProducer (QT_TRANSLATE_NOOP("QObject","Import-Export")); + // add resources and reloads the translators loadFemResource(); - + PyMOD_Return(mod); }