mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
...
This commit is contained in:
parent
5194927aca
commit
1b36225c7c
@ -524,7 +524,10 @@ class Editor(QWidget): # {{{
|
||||
def html(self):
|
||||
def fset(self, v):
|
||||
self.editor.html = v
|
||||
return property(fget=lambda self:self.editor.html, fset=fset)
|
||||
def fget(self):
|
||||
self.tabs.setCurrentIndex(0)
|
||||
return self.editor.html
|
||||
return property(fget=fget, fset=fset)
|
||||
|
||||
def change_tab(self, index):
|
||||
#print 'reloading:', (index and self.wyswyg_dirty) or (not index and
|
||||
|
Loading…
x
Reference in New Issue
Block a user