82 widget = widget.parent() |
82 widget = widget.parent() |
83 super().setCurrentWidget(widget) |
83 super().setCurrentWidget(widget) |
84 |
84 |
85 def setCurrentIndex(self, index): |
85 def setCurrentIndex(self, index): |
86 """ |
86 """ |
87 Overwritten method to set the current widget by it's index. |
87 Overwritten method to set the current widget by its index. |
88 |
88 |
89 @param index index of widget to be made current (integer) |
89 @param index index of widget to be made current (integer) |
90 """ |
90 """ |
91 widget = self.widget(index) |
91 widget = self.widget(index) |
92 if widget is not None: |
92 if widget is not None: |