Disable confirm note-delete in name entry

Fixes #820
develop
lethosor 2016-02-11 22:56:33 -05:00
parent fafe1e9ce1
commit f4ce45deae
1 changed files with 1 additions and 0 deletions

@ -178,6 +178,7 @@ note_delete = defconf('note-delete')
function note_delete.intercept_key(key)
return key == keys.D_NOTE_DELETE and
ui.main.mode == df.ui_sidebar_mode.NotesPoints and
not ui.waypoints.in_edit_name_mode and
not ui.waypoints.in_edit_text_mode
end
note_delete.title = "Delete note"