mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 19:27:10 +00:00
revert erroneous mod from bulk change
This commit is contained in:
@@ -615,7 +615,7 @@ class application(QtWidgets.QApplication):
|
|||||||
|
|
||||||
return handler
|
return handler
|
||||||
|
|
||||||
def __init__(self, settings={}):
|
def __init__(self, settings=None):
|
||||||
QtWidgets.QApplication.__init__(self, sys.argv)
|
QtWidgets.QApplication.__init__(self, sys.argv)
|
||||||
self.window = application.window()
|
self.window = application.window()
|
||||||
self.tree = application.decomposition_treeview()
|
self.tree = application.decomposition_treeview()
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ class iterator(_iterator):
|
|||||||
|
|
||||||
|
|
||||||
class tree(ifcopenshell_wrapper.tree):
|
class tree(ifcopenshell_wrapper.tree):
|
||||||
def __init__(self, file=None, settings={}):
|
def __init__(self, file=None, settings=None):
|
||||||
args = [self]
|
args = [self]
|
||||||
if file is not None:
|
if file is not None:
|
||||||
args.append(file.wrapped_data)
|
args.append(file.wrapped_data)
|
||||||
|
|||||||
Reference in New Issue
Block a user