Populate the warning dialog with the messages. Fix the onCLick and onCancel to not finish the activity but instead make the workflow move on to the viewer.
This commit is contained in:
parent
f5d3884ce9
commit
621938dc56
@ -112,7 +112,6 @@ implements TCQueryAction.OnTCQueryCompleteListener, OpenRocketLoaderFragment.OnO
|
||||
WarningSet warnings = ((Application)OpenRocketLoaderActivity.this.getApplication()).getWarnings();
|
||||
if (warnings == null || warnings.isEmpty()) {
|
||||
} else {
|
||||
// TODO - Build a warning listing dialog
|
||||
DialogFragment newFragment = WarningDialogFragment.newInstance();
|
||||
newFragment.show(getSupportFragmentManager(), "dialog");
|
||||
return;
|
||||
@ -134,7 +133,7 @@ implements TCQueryAction.OnTCQueryCompleteListener, OpenRocketLoaderFragment.OnO
|
||||
displayWarningDialog();
|
||||
}
|
||||
|
||||
private void moveOnToViewer() {
|
||||
public void moveOnToViewer() {
|
||||
Intent i = new Intent(this,OpenRocketViewer.class);
|
||||
startActivity(i);
|
||||
finish();
|
||||
|
Loading…
x
Reference in New Issue
Block a user