beremiz

69fefac5760e
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.
  • +1 -0
    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