cousin itt
-
2013-05-27
When the image database is large (8000+) images, editing a cell incurs a long pause. This is due to a 'SELECT *' query which is used to check that there are images in the database.
This patch adds a field, getter and setter to TEditor for the number of images in the database. Code is added to update this number whenever an images is added or deleted from the db.
I also removed the 'SELECT *' for when the image gallery is first shown.
I have only updated the cell editor image selector to use these new methods of TEditor.