Skip to content

Commit

Permalink
fixes saving of modified designer points (Discussion #1721)
Browse files Browse the repository at this point in the history
  • Loading branch information
MAKOMO committed Nov 11, 2024
1 parent a10bc2d commit ccc3471
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/artisanlib/canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -16038,9 +16038,9 @@ def savepoints(self, _:bool = False) -> None:
filename = self.aw.ArtisanSaveFileDialog(msg=QApplication.translate('Message', 'Save Points'),ext='*.adsg')
if filename:
obj:Dict[str, Union[List[float],List[int]]] = {}
obj['timex'] = self.timex # List[float]
obj['temp1'] = self.temp1 # List[float]
obj['temp2'] = self.temp2 # List[float]
obj['timex'] = [float2float(float(tx), 10) for tx in self.timex] # List[float]
obj['temp1'] = [float2float(float(t1), 8) for t1 in self.temp1] # List[float]
obj['temp2'] = [float2float(float(t2), 8) for t2 in self.temp2] # List[float]
obj['timeindex'] = self.timeindex # List[int]
import codecs # @Reimport
with codecs.open(filename, 'w+', encoding='utf-8') as f:
Expand Down
2 changes: 2 additions & 0 deletions wiki/ReleaseHistory.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ v3.0.3
- fixes issue where on save file a PNG was created instead of an PDF Report if "PDF Report" was selected as type under "Save also" in the autosave dialog ([Issue #1718](../../../issues/1718))
- fixes a rare redraw issues on using the zoom function
- fixes an issue in WebSocket communication where time did not progress with empty `Data Request` ([Issue #1737](../../../issues/1737))
- fixes an issue with the Analyzer result panes disappearing under some conditions ([Discussion #1736](../../../discussions/1736))
- fixes saving of designer point which could result in failure on loading ([Discussion #1721](../../../discussions/1721))

* REMOVALS
- support for the image format BMP has been removed
Expand Down

0 comments on commit ccc3471

Please sign in to comment.