Merge branch 'development' of github.com:open-keychain/open-keychain into development

This commit is contained in:
Dominik Schürmann
2014-10-26 22:38:35 +01:00
8 changed files with 31 additions and 5 deletions

View File

@@ -145,7 +145,7 @@ public class ProgressDialogFragment extends DialogFragment {
mPreventCancel = preventCancel;
final Button negative = ((ProgressDialog) getDialog()).getButton(DialogInterface.BUTTON_NEGATIVE);
negative.setVisibility(preventCancel ? View.GONE : View.VISIBLE);
negative.setEnabled(mIsCancelled && !preventCancel);
}
@Override