fix inserting 'more' button
This commit is contained in:
parent
0cdcd10b52
commit
b9f759849b
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ class ContactThread(QWidget):
|
||||||
button = QPushButton(self.tr('More messages...'))
|
button = QPushButton(self.tr('More messages...'))
|
||||||
self.connect(button, SIGNAL('clicked()'), lambda: self._load_button_pressed(button))
|
self.connect(button, SIGNAL('clicked()'), lambda: self._load_button_pressed(button))
|
||||||
if pos >= 0:
|
if pos >= 0:
|
||||||
self.ui.scrollAreaContent.layout().insertWidget(i, button)
|
self.ui.scrollAreaContent.layout().insertWidget(pos, button)
|
||||||
else:
|
else:
|
||||||
self.ui.scrollAreaContent.layout().addWidget(button)
|
self.ui.scrollAreaContent.layout().addWidget(button)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue