This commit is contained in:
serso
2016-01-30 14:00:28 +01:00
parent 37c40001d7
commit 4a9e8bf78a
4 changed files with 8 additions and 4 deletions

View File

@@ -52,7 +52,9 @@ public class FunctionsActivity extends BaseActivity {
if (savedInstanceState == null) {
final Bundle extras = getIntent().getExtras();
final CppFunction function = extras != null ? (CppFunction) extras.getParcelable(EXTRA_FUNCTION) : null;
EditFunctionFragment.showDialog(function, this);
if (function != null) {
EditFunctionFragment.showDialog(function, this);
}
}
}