aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authortassaron2017-05-28 16:26:06 -0400
committertassaron2017-05-28 16:26:06 -0400
commitfa89cd38f22051fe6e3afec5e93eb7e1e70351c0 (patch)
tree0f44fd55f198ef42f348a7d40b0f0580f3716529 /main.py
parente3079f7a67ce8939ebb861b9580c281f81331181 (diff)
slight fixes to component UIs
and adding a component changes the stackedWidget
Diffstat (limited to 'main.py')
-rw-r--r--main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.py b/main.py
index d165fc5..5a80fd8 100644
--- a/main.py
+++ b/main.py
@@ -292,6 +292,7 @@ class Main(QtCore.QObject):
self.pages.append(self.selectedComponents[-1].widget(self))
self.window.listWidget_componentList.setCurrentRow(index)
self.window.stackedWidget.addWidget(self.pages[-1])
+ self.window.stackedWidget.setCurrentWidget(self.pages[-1])
self.selectedComponents[-1].update()
def removeComponent(self):