Fix npe when one uses the back button to get rid of the query instead of executing a query.

This commit is contained in:
Kevin Ruland 2012-01-29 02:46:43 +00:00
parent 90f2dcadfc
commit aa9259be6e

View File

@ -83,7 +83,7 @@ public class TCQueryAction {
mDbHelper.close();
if ( progress.isShowing() ) {
if ( progress != null && progress.isShowing() ) {
progress.dismiss();
}
}