update action when creating groupchat window. Fixes #9042

This commit is contained in:
Yann Leboulanger 2018-04-07 22:48:38 +02:00
parent 27e45856b0
commit 6d868546fa
1 changed files with 1 additions and 0 deletions

View File

@ -335,6 +335,7 @@ class GroupchatControl(ChatControlBase):
# Tooltip Window and Actions have to be created with parent # Tooltip Window and Actions have to be created with parent
self.set_tooltip() self.set_tooltip()
self.add_actions() self.add_actions()
GLib.idle_add(self.update_actions)
self.scale_factor = parent_win.window.get_scale_factor() self.scale_factor = parent_win.window.get_scale_factor()
self._connect_window_state_change(parent_win) self._connect_window_state_change(parent_win)
else: else: