Hi,
I am porting a qwt program of mine to linux and I'm having a problem reloading the scaleDraw of my bottom x axis.
I have an option where the user can input their own format for the time on the x axis (YYYY or MM etc). When the user presses Enter, my function setUserFormat is called:
Qt Code:
.... .... usersFormat = newFormat; myDefault = false; this->invalidateCache(); } }To copy to clipboard, switch view to plain text mode
the invalidateCache() method causes my x axis scale draw to reload right away with the new format. This works as it should on Windows, but on Linux the change does not happen immediately. It will change if I reload the plot, but I want it to change immediately like it does on Windows. Any ideas why this does not work on Linux?
(ubuntu 10.04, Qwt 6.0.1)
Thanks!
Bookmarks