google-code-export / biolink

Automatically exported from code.google.com/p/biolink
0 stars 1 forks source link

eGaz loses track of its currently connected gazetteer when it loses focus #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open eGaz to a 2nd gaz file (so there are at least 2 gaz files in the drop 
down)
2. Make another tab cover the egaz tab
3. Re-show the eGaz tab - gaz file has changed back to the first gaz file in  
the list

Original issue reported on code.google.com by david.ba...@gmail.com on 7 Feb 2013 at 6:06

GoogleCodeExporter commented 9 years ago
Overzealous load event handing was causing the last loaded file to be reloaded 
everytime the tab became visible. Also the fact that the last loaded file was 
not saved until the gazetteer is unloaded (app shutdown), meant that it was 
always reloading the original gaz file

Original comment by david.ba...@gmail.com on 8 Feb 2013 at 5:43