display weboob-config-qt at launch on Qt applications when there are no configured backends
This commit is contained in:
parent
31445de767
commit
f0ea8829a2
5 changed files with 24 additions and 3 deletions
|
|
@ -53,6 +53,9 @@ class MainWindow(QtMainWindow):
|
|||
self.ui.tabWidget.addTab(QWidget(), self.tr('Calendar'))
|
||||
self.ui.tabWidget.addTab(QWidget(), self.tr('Optimizations'))
|
||||
|
||||
if self.weboob.count_backends() == 0:
|
||||
self.backendsConfig()
|
||||
|
||||
def backendsConfig(self):
|
||||
bckndcfg = BackendCfg(self.weboob, (ICapDating,), self)
|
||||
if bckndcfg.run():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue