Arch: Arch_Reference: task panel layout was added incorrectly (#9700)

This commit is contained in:
Roy-043
2023-05-31 09:27:17 +02:00
committed by GitHub
parent 568f25ba34
commit 8a3c8258df

View File

@@ -664,7 +664,7 @@ class ArchReferenceTaskPanel:
self.openButton.setText("Open")
if not self.obj.File:
self.openButton.setEnabled(False)
l2 = QtGui.QHBoxLayout(self.form)
l2 = QtGui.QHBoxLayout()
layout.addLayout(l2)
l2.addWidget(self.fileButton)
l2.addWidget(self.openButton)