mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
cfd9189a07
commit
92f7f77713
@ -129,7 +129,7 @@ class Catalog(QDialog, Ui_Dialog):
|
|||||||
def show_plugin_tab(self, idx):
|
def show_plugin_tab(self, idx):
|
||||||
cf = unicode(self.format.currentText()).lower()
|
cf = unicode(self.format.currentText()).lower()
|
||||||
while self.tabs.count() > 1:
|
while self.tabs.count() > 1:
|
||||||
self.tabs.remove(1)
|
self.tabs.removeTab(1)
|
||||||
for pw in self.widgets:
|
for pw in self.widgets:
|
||||||
if cf in pw.formats:
|
if cf in pw.formats:
|
||||||
self.tabs.addTab(pw, pw.TITLE)
|
self.tabs.addTab(pw, pw.TITLE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user