Fix a crash with GPS dialog.
authorJames Turner <zakalawe@mac.com>
Wed, 2 Oct 2013 21:08:17 +0000 (22:08 +0100)
committerJames Turner <zakalawe@mac.com>
Wed, 2 Oct 2013 21:08:17 +0000 (22:08 +0100)
commitb2759d018b633ec9f0ca6f9e79d9e21ac24d0eba
treeaf6406c894bf9aa3d62d699a68d3d2d3a3272b90
parentf5b352429c7dc8f2d88a665fd575ef2d7a8a76b6
Fix a crash with GPS dialog.

If an invalid filter type is supplied, don't run the queries.
This showed up with GPS dialog, since the PUI combo box defaults to
no entry selected, not the first entry.
src/Scripting/NasalPositioned_cppbind.cxx