mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Remove call to read_data() as it no longer exists
This commit is contained in:
parent
9b3d5d486b
commit
b83a299bfd
@ -473,16 +473,8 @@ class LiveCSS(QWidget):
|
||||
# error in the web view
|
||||
self.start_update_timer()
|
||||
return
|
||||
if self.now_showing == (None, None, None) or self.now_showing[0] != self.current_name:
|
||||
self.clear()
|
||||
return
|
||||
# Try to refresh the data for the currently shown tag instead
|
||||
# of clearing
|
||||
editor_name, sourceline, tags = self.now_showing
|
||||
data = self.read_data(sourceline, tags)
|
||||
if data is None or len(data['computed_css']) < 1:
|
||||
self.clear()
|
||||
return
|
||||
self.clear()
|
||||
return
|
||||
self.now_showing = (editor_name, sourceline, tags)
|
||||
data['html_name'] = editor_name
|
||||
self.box.show_data(data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user