# HG changeset patch
# User Andrey Skvortsov <andrej.skvortzov@gmail.com>
# Date 1535558331 -10800
# Node ID 69fefac5760eea63e7216b1c3747937125efb2c6
# Parent  5b8a7dd43f9fbee83118d8a5f8a773329f7200fb
Fix non-usable toolbar on wxPython with GTK3+ in PLCOpenEditor

this problem is related to 'Fix non-usable toolbar on wxPython with
GTK3+' (5927710b). This problem does not happen in Beremiz because
additional necessary self.AUIManager.Update() is called
BeremizIDE. Therefore minimal change in the mentioned commit was
enough for Beremiz, but is not enough for PLCOpenEditor.

diff -r 5b8a7dd43f9f -r 69fefac5760e IDEFrame.py
--- a/IDEFrame.py	Wed Aug 29 18:53:02 2018 +0300
+++ b/IDEFrame.py	Wed Aug 29 18:58:51 2018 +0300
@@ -2172,6 +2172,7 @@
                 self.AUIManager.GetPane("EditorToolBar").Show()
                 self.AUIManager.Update()
                 self.AUIManager.GetPane("EditorToolBar").BestSize(EditorToolBar.GetBestSize())
+                self.AUIManager.Update()
         elif menu is None:
             self.ResetEditorToolBar()
             self.CurrentMenu = menu