mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-26 15:29:19 +00:00
Do not show disk insertion dialog if nothing chosen
This commit is contained in:
parent
e020817068
commit
c731c2a310
@ -228,7 +228,9 @@ public class Apple2Activity extends Activity implements Apple2DiskChooserActivit
|
||||
}
|
||||
|
||||
if (sDisksChosen != null && mDisksMenu != null) {
|
||||
mDisksMenu.showDiskInsertionAlertDialog("title", sDisksChosen);
|
||||
if (sDisksChosen.pfd != null) {
|
||||
mDisksMenu.showDiskInsertionAlertDialog("title", sDisksChosen);
|
||||
}
|
||||
sDisksChosen = null;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user