Remove call to read_data() as it no longer exists

This commit is contained in:
Kovid Goyal 2018-09-12 20:23:01 +05:30
parent 9b3d5d486b
commit b83a299bfd
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -473,14 +473,6 @@ 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.now_showing = (editor_name, sourceline, tags)