BIM: remove 'show this dialog' checkbox from IFC Import and IFC Export prefs (#24728)

Fixes #24551
This commit is contained in:
Roy-043
2025-10-20 16:15:43 +02:00
committed by GitHub
parent 4b1ce402ff
commit 08aeb5d65b
4 changed files with 0 additions and 40 deletions

View File

@@ -29,28 +29,6 @@
<property name="bottomMargin">
<number>9</number>
</property>
<item>
<widget class="QGroupBox" name="group_box_0">
<property name="title">
<string>General Options</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_7">
<property name="text">
<string>Show this dialog when exporting</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>ifcShowDialog</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Arch</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">

View File

@@ -26,19 +26,6 @@
<string>General Options</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_7">
<property name="text">
<string>Show this dialog when importing</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>ifcShowDialog</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Arch</cstring>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_5">
<property name="toolTip">

View File

@@ -170,8 +170,6 @@ def getPreferences():
import ifcopenshell
if FreeCAD.GuiUp and params.get_param_arch("ifcShowDialog"):
FreeCADGui.showPreferencesByName("Import-Export", ":/ui/preferences-ifc-export.ui")
ifcunit = params.get_param_arch("ifcUnit")
# Factor to multiply the dimension in millimeters

View File

@@ -86,9 +86,6 @@ def getPreferences():
2 = Part shapes
3 = One compound per storey
"""
if FreeCAD.GuiUp and params.get_param_arch("ifcShowDialog"):
Gui.showPreferencesByName("Import-Export", ":/ui/preferences-ifc.ui")
preferences = {
"DEBUG": params.get_param_arch("ifcDebug"),
"PREFIX_NUMBERS": params.get_param_arch("ifcPrefixNumbers"),