Skip to content

Commit

Permalink
wx.metadata/g.gui.metadata: remove add left wx.Panel widget into wx.B…
Browse files Browse the repository at this point in the history
…oxSizer widget
  • Loading branch information
tmszi committed Jul 2, 2020
1 parent bc46cef commit ec61681
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,6 @@ def onHideLeftPanel(self):
'''In editing mode config panel is hidden
'''
self.bttNew.Enable()
self.Hsizer.Remove(self.leftPanel)
self.Hsizer.Layout()
self.leftPanel.SetSize((1, 1))

Expand Down Expand Up @@ -985,7 +984,6 @@ def initEditor(self, ):
self.bttNew.Disable()
self.bttSave.Disable()

self.Hsizer.Insert(0, self.leftPanel, proportion=1, flag=wx.EXPAND)
self.resizeFrame()

elif self.secondAfterChoice:
Expand Down

0 comments on commit ec61681

Please sign in to comment.