Closed tallforasmurf closed 12 years ago
The problem turned out to be confined to pqWords, where changing setSortingEnabled was causing redundant sorts. Set it to True on instantiation and left it that way, no further changes, and magically the delay went away.
During the load of a previously saved file, the documentHasChanged signal causes a lot of tables to refresh themselves, and this adds several seconds of silence to the duration of the load.
To mitigate, each table that is refreshing needs to put a display in the status message field. "Updating Word table..." etc.
Currently pqMsgs only supports the status field as part of starting the progress bar. Pull that out, make it a separate function pqMsgs.showStatus() and pqMsgs.clearStatus(), and add those calls to any panel that honors documentHasChanged with a refresh.