Fix npe when one uses the back button to get rid of the query instead of executing a query.
This commit is contained in:
parent
90f2dcadfc
commit
aa9259be6e
@ -83,7 +83,7 @@ public class TCQueryAction {
|
|||||||
|
|
||||||
mDbHelper.close();
|
mDbHelper.close();
|
||||||
|
|
||||||
if ( progress.isShowing() ) {
|
if ( progress != null && progress.isShowing() ) {
|
||||||
progress.dismiss();
|
progress.dismiss();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user