Commit a8e71e4a authored by Tijmen de Mes's avatar Tijmen de Mes

Prevent scroll in load screen

parent a8a246e8
...@@ -832,8 +832,10 @@ class ChatWidget(base_class, ui_class): ...@@ -832,8 +832,10 @@ class ChatWidget(base_class, ui_class):
def show_loading_screen(self, visible): def show_loading_screen(self, visible):
if visible: if visible:
self.loading_element.appendInside(self.loading_template) self.loading_element.appendInside(self.loading_template)
body = self.chat_view.page().mainFrame().findFirstElement('body').setStyleProperty('overflow', 'hidden')
else: else:
self.loading_element.removeAllChildren() self.loading_element.removeAllChildren()
body = self.chat_view.page().mainFrame().findFirstElement('body').setStyleProperty('overflow', 'auto')
def send_sip_message(self, content, content_type='text/plain', recipients=None, courtesy_recipients=None, subject=None, timestamp=None, required=None, additional_headers=None, id=None): def send_sip_message(self, content, content_type='text/plain', recipients=None, courtesy_recipients=None, subject=None, timestamp=None, required=None, additional_headers=None, id=None):
account = self.session.blink_session.account account = self.session.blink_session.account
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment