Skip to content

Commit

Permalink
Merge branch 'valueswindow'
Browse files Browse the repository at this point in the history
  • Loading branch information
jamaa committed Nov 12, 2023
2 parents c2ec05c + 7970d45 commit 00402aa
Show file tree
Hide file tree
Showing 3 changed files with 177 additions and 100 deletions.
3 changes: 3 additions & 0 deletions source/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ NEW:
* When saving to WVP, file paths can now optionally be saved as relative
* WVP files are now always read and written using UTF-8 encoding

FIXED:
* Improved performance and usability of Time Series Values window

CHANGED:
* Upgrade TeeChart to v4.2023.4.18

Expand Down
4 changes: 3 additions & 1 deletion source/Controllers/ValuesController.vb
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,16 @@ Friend Class ValuesController
AddHandler _model.SeriesAdded, AddressOf UpdateView
AddHandler _model.SeriesPropertiesChanged, AddressOf UpdateView
AddHandler _model.SeriesRemoved, AddressOf UpdateView
AddHandler _model.SeriesAllReordered, AddressOf UpdateView
AddHandler _model.SeriesReordered, AddressOf UpdateView
AddHandler _model.SeriesCleared, AddressOf UpdateView
End Sub

Public Overrides Sub ShowView()
If IsNothing(_view) Then
_view = New ValuesWindow()
View.Update(_model.TimeSeries.ToList)
End If
View.Update(_model.TimeSeries.ToList)
View.WindowState = FormWindowState.Normal
View.Show()
View.BringToFront()
Expand Down
Loading

0 comments on commit 00402aa

Please sign in to comment.