If an axis of graph has in logarithmic scale, to click on the "Best fit" button changes the number of Major Ticks of the axis.
The attached project can be used to reproduce the bug. Just click on the Best fit button of the Graph toolbar and the number of major ticks will be only one.
Tested on Slackware 14.2 + qt 4.8.7 - SciDAVis 1.23.4 built from source