Skip to content

Commit

Permalink
Fix the layout error
Browse files Browse the repository at this point in the history
  • Loading branch information
KristapsE committed May 7, 2020
1 parent 9790077 commit b8d8702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyDP4_GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, parent):
# Add tabs
self.tabs.addTab(self.tab1, "Calculation")

self.tab1.layout = QtWidgets.QVBoxLayout(self)
self.tab1.layout = QtWidgets.QVBoxLayout()
self.tab1.layout.addWidget(self.Tab1)
self.tab1.setLayout(self.tab1.layout)

Expand Down

0 comments on commit b8d8702

Please sign in to comment.