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:
parent
5006eecd43
commit
6243880982
|
|
@ -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():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue