fixed #206

disabling history icon if there is none
Merge branch 'pr/765' into develop