git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@423
180e2498-e6e9-4542-8430-
84ac67f01cd8
protected void dismiss() {\r
AndroidLogWrapper.d(TCQueryAction.class,"dismiss the progress");\r
ProgressDialogFragment progress = (ProgressDialogFragment) getActivity().getSupportFragmentManager().findFragmentByTag(PROGRESS_DIALOG_TAG);\r
- if ( progress != null && progress.isVisible()) {\r
- progress.dismiss();\r
+ if ( progress != null ) {\r
+ getActivity().getSupportFragmentManager().beginTransaction().remove(progress).commit();\r
}\r
}\r
\r