Merge pull request #44 from PyroMani/master

Probably fixes #17 issue and updated .gitignore
This commit is contained in:
daid 2012-04-09 03:26:00 -07:00
commit 0861381ad9
2 changed files with 6 additions and 3 deletions

3
.gitignore vendored
View File

@ -9,3 +9,6 @@ linux-Cura-*
Printrun
.idea
.DS_Store
Cura/current_profile.ini
Cura/preferences.ini
cura.sh

View File

@ -302,10 +302,10 @@ class mainWindow(configBase.configWindowBase):
newSize = self.GetSize();
newSize.IncBy(0, -spp.GetSize().GetHeight())
self.SetSize(newSize)
self.sizer.Remove(spp)
spp.Destroy()
spp.Show(False)
self.sizer.Detach(spp)
for spp in self.progressPanelList:
self.sizer.Remove(spp)
self.sizer.Detach(spp)
i = 2
for spp in self.progressPanelList:
self.sizer.Add(spp, (i,0), span=(1,4), flag=wx.EXPAND)