BIM: remove 'show this dialog' checkbox from IFC Import and IFC Export prefs (#24728)
Fixes #24551
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user