gui: Speed up initial file load with many columns
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 12 Nov 2011 23:06:23 +0000 (15:06 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 26 Jun 2012 03:27:09 +0000 (20:27 -0700)
commitdc76c521195010287b183f08034e0756ad8eb2f9
treec07ab681a73dfafbaeed23841df13a5aec327896
parent83d072f018123f29af27a730a9ac2653ca67eea8
gui: Speed up initial file load with many columns

This makes a huge difference in startup time when there are hundreds of
columns, by setting up the data sheet before showing the window that
contains it.

Files opened from File|Open were already opened this way.  I was a little
surprised that File|Open was so much faster than specifying a file on the
command line until I figured out the difference.
src/ui/gui/psppire.c