Skip to content

Commit 82f565a

Browse files
author
Chris Warren-Smith
committed
SDL: avoid showing the android 'system' editor option
1 parent 56f1eca commit 82f565a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/ui/system.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,12 @@ void System::handleMenu(MAEvent &event) {
415415
}
416416
break;
417417
case MENU_EDITMODE:
418+
#if defined(_ANDROID)
418419
opt_ide = (opt_ide == IDE_NONE ? IDE_INTERNAL :
419420
opt_ide == IDE_INTERNAL ? IDE_EXTERNAL : IDE_NONE);
421+
#else
422+
opt_ide = (opt_ide == IDE_NONE ? IDE_INTERNAL : IDE_NONE);
423+
#endif
420424
break;
421425
case MENU_THEME:
422426
g_themeId = (g_themeId + 1) % NUM_THEMES;

0 commit comments

Comments
 (0)