Fix crash when global search box is used after re-opening another project
ClosedPublic

Authored by staniek on Mar 2 2018, 9:10 AM.

Details

Summary

(remove search models from the search box before destruction)

FIXED-IN:3.1.0

Test Plan
  1. Open a project
  2. Try to use the search box by entering something

Expected: searching works

  1. Close the project without closing KEXI
  2. Repeat step 2

Expected: nothing is found because project is not open (previously there were crashes here)

  1. (Test if opening another project works OK): Open other project in the same KEXI instance
  2. Repeat step 2

Expected: searching works

  1. Repeat step 4

Expected: nothing is found (no crashes)

  1. Close KEXI

Expected: clean exit, no crashes

Diff Detail

Repository
R71 Kexi
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
staniek created this revision.Mar 2 2018, 9:10 AM
Restricted Application added a project: KEXI. · View Herald TranscriptMar 2 2018, 9:10 AM
staniek requested review of this revision.Mar 2 2018, 9:10 AM
staniek edited the summary of this revision. (Show Details)Mar 2 2018, 9:13 AM
piggz accepted this revision.Mar 3 2018, 8:13 AM
This revision is now accepted and ready to land.Mar 3 2018, 8:13 AM
This revision was automatically updated to reflect the committed changes.