add tab to send queries
This commit is contained in:
parent
e524098842
commit
0f1ce1d4b1
6 changed files with 248 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright(C) 2010-2011 Romain Bignon
|
||||
# Copyright(C) 2010-2014 Romain Bignon
|
||||
#
|
||||
# This file is part of weboob.
|
||||
#
|
||||
|
|
@ -313,7 +313,7 @@ class ContactProfile(QWidget):
|
|||
self.display_photo()
|
||||
|
||||
def display_photo(self):
|
||||
if self.displayed_photo_idx >= len(self.contact.photos):
|
||||
if self.displayed_photo_idx >= len(self.contact.photos) or self.displayed_photo_idx < 0:
|
||||
self.displayed_photo_idx = len(self.contact.photos) - 1
|
||||
if self.displayed_photo_idx < 0:
|
||||
self.ui.photoUrlLabel.setText('')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue