mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
check if it is finish, because commit() also invoked from "previous" action
This commit is contained in:
@@ -289,6 +289,9 @@ class ApkStep extends ExportSignedPackageWizardStep {
|
||||
|
||||
@Override
|
||||
public void _commit(boolean finishChosen) throws CommitStepException {
|
||||
if (!finishChosen) {
|
||||
return;
|
||||
}
|
||||
final String apkPath = myApkPathField.getText().trim();
|
||||
if (apkPath.length() == 0) {
|
||||
throw new CommitStepException(AndroidBundle.message("android.extract.package.specify.apk.path.error"));
|
||||
|
||||
Reference in New Issue
Block a user