Skip to content

Commit d4f7c6b

Browse files
committed
- Bug fix in usePreviousPlotPackage()
1 parent fff0fc8 commit d4f7c6b

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SignalTables"
22
uuid = "3201582d-3078-4276-ba5d-0a1254d79d7c"
33
authors = ["Martin.Otter@dlr.de <Martin.Otter@dlr.de>"]
4-
version = "0.3.3"
4+
version = "0.3.4"
55

66
[deps]
77
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"

docs/src/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,11 @@ are different to the Python 2.x version.
187187

188188
## Release Notes
189189

190+
### Version 0.3.4
191+
192+
- Bug fix in usePreviousPlotPackage()
193+
194+
190195
### Version 0.3.3
191196

192197
- Bug fix: getValuesWithUnit(..) is now correctly returning the values vector, if no unit is defined.

src/PlotPackageDefinition.jl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,9 @@ and call `usePlotPackage(<popped PlotPackage package>)`.
155155
function usePreviousPlotPackage()::Bool
156156
if length(PlotPackagesStack) > 0
157157
plotPackage = pop!(PlotPackagesStack)
158-
success = usePlotPackage(plotPackage, pushPreviousOnStack=false)
159-
#else
160-
# @warn "usePreviousPlotPackage(): Call ignored, because nothing saved."
161-
# success = false
158+
usePlotPackage(plotPackage, pushPreviousOnStack=false)
162159
end
163-
return success
160+
return true
164161
end
165162

166163

0 commit comments

Comments
 (0)