Images are not cleared from the list when the user closes the plugin window, so they appear again the next time the window is opened.
The attached patch clears the list of images when the window closes.
Created attachment 58762 [details]
patch to clear the window on close
For some reason the attachment didn't got through.
Created attachment 58766 [details]
patch for wmwindow.cpp
The previous patch fixed it for the X button, but not for the "close" button. This new patch fixes it for both by moving the list cleanup to when the widget is reopened, instead of when it's closed.
Git commit b1e17256abdd3ca3f098ad03dd13b65dd8bfda96 by Gilles Caulier.
Committed on 10/04/2011 at 15:19.
Pushed by cgilles into branch 'master'.
apply patch #58766 from Guillame Paumier
M +1 -0 mediawiki/wmwindow.cpp