Made the variables area scrollable.
This commit is contained in:
parent
44e8533f26
commit
9cb1e58f3f
|
@ -97,9 +97,6 @@ def populateParameterEditor(parameters):
|
|||
|
||||
mw = FreeCADGui.getMainWindow()
|
||||
|
||||
# Tracks whether or not we have already added the variables editor
|
||||
isPresent = False
|
||||
|
||||
# If the widget is open, we need to close it
|
||||
dockWidgets = mw.findChildren(QtGui.QDockWidget)
|
||||
for widget in dockWidgets:
|
||||
|
@ -133,6 +130,4 @@ def populateParameterEditor(parameters):
|
|||
scrollArea.setStyleSheet("QLabel { color : black; }");
|
||||
scrollArea.setWidget(newWidget)
|
||||
|
||||
widget.setWidget(scrollArea)
|
||||
|
||||
isPresent = True
|
||||
widget.setWidget(scrollArea)
|
Loading…
Reference in New Issue
Block a user