Configtool: also save thermistor tables when only saving config.h.

Previously this was only done when saving a board file ... but
these tables can also change when general settings are changed.
This commit is contained in:
jbernardis 2015-05-06 19:37:51 -04:00 committed by Markus Hitter
parent 5006eecd43
commit 6243880982
1 changed files with 2 additions and 0 deletions

View File

@ -339,6 +339,8 @@ class ConfigFrame(wx.Frame):
if self.pgBoard.isModified() and self.pgBoard.isValid(): if self.pgBoard.isModified() and self.pgBoard.isValid():
if not self.pgBoard.saveConfigFile(bfn): if not self.pgBoard.saveConfigFile(bfn):
return False return False
else:
self.pgBoard.generateTempTables()
pfn = self.pgPrinter.getFileName() pfn = self.pgPrinter.getFileName()
if self.pgPrinter.isModified() and self.pgPrinter.isValid(): if self.pgPrinter.isModified() and self.pgPrinter.isValid():