driscollis / applications_with_wxpython

Code examples for the book, Creating GUI Application with wxPython
https://www.blog.pythonlibrary.org
116 stars 26 forks source link

Chapter 11 - search_results_olv not clearing between searches #21

Closed cmcknight closed 5 years ago

cmcknight commented 5 years ago

Back-to-back searches append the new results to the search_results_olv object.

Steps to Recreate

  1. Select folder to search
  2. Enter file name to search
  3. Tap Enter
  4. Search results are displayed
  5. Enter a new filename to search
  6. Tap Enter
  7. Search results are appended to original search results

I expected the ObjectListView to be cleared between searches but this is apparently not the case.

driscollis commented 5 years ago

That was my intent as well. I just fixed that issue