Skip to content

Commit

Permalink
- Bug fix in usePreviousPlotPackage()
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinOtter committed Jul 5, 2022
1 parent fff0fc8 commit d4f7c6b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SignalTables"
uuid = "3201582d-3078-4276-ba5d-0a1254d79d7c"
authors = ["[email protected] <[email protected]>"]
version = "0.3.3"
version = "0.3.4"

[deps]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Expand Down
5 changes: 5 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@ are different to the Python 2.x version.

## Release Notes

### Version 0.3.4

- Bug fix in usePreviousPlotPackage()


### Version 0.3.3

- Bug fix: getValuesWithUnit(..) is now correctly returning the values vector, if no unit is defined.
Expand Down
7 changes: 2 additions & 5 deletions src/PlotPackageDefinition.jl
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,9 @@ and call `usePlotPackage(<popped PlotPackage package>)`.
function usePreviousPlotPackage()::Bool
if length(PlotPackagesStack) > 0
plotPackage = pop!(PlotPackagesStack)
success = usePlotPackage(plotPackage, pushPreviousOnStack=false)
#else
# @warn "usePreviousPlotPackage(): Call ignored, because nothing saved."
# success = false
usePlotPackage(plotPackage, pushPreviousOnStack=false)
end
return success
return true
end


Expand Down

0 comments on commit d4f7c6b

Please sign in to comment.