Remove unnecessary _init_stylesheet call
The update calls were added in 51d48f6b00
but
without removing the init_stylesheet call.
This commit is contained in:
parent
2c8ab580ce
commit
1cf8011eb1
@ -796,7 +796,6 @@ class _WebEngineScripts(QObject):
|
|||||||
@pyqtSlot(str)
|
@pyqtSlot(str)
|
||||||
def _on_config_changed(self, option):
|
def _on_config_changed(self, option):
|
||||||
if option in ['scrolling.bar', 'content.user_stylesheets']:
|
if option in ['scrolling.bar', 'content.user_stylesheets']:
|
||||||
self._init_stylesheet()
|
|
||||||
self._update_stylesheet(url=self._tab.url())
|
self._update_stylesheet(url=self._tab.url())
|
||||||
|
|
||||||
@pyqtSlot()
|
@pyqtSlot()
|
||||||
|
Loading…
Reference in New Issue
Block a user