edit-exif: enter to save

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/803/head
Varun Patil 2023-08-25 12:14:20 -07:00
parent aa04736456
commit 991babb2b5
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@
trailing-button-icon="close" trailing-button-icon="close"
:show-trailing-button="dirty[field.field]" :show-trailing-button="dirty[field.field]"
@trailing-button-click="reset(field)" @trailing-button-click="reset(field)"
@keypress.enter="$emit('save')"
/> />
</div> </div>
</div> </div>

View File

@ -30,7 +30,7 @@
<div class="title-text"> <div class="title-text">
{{ t('memories', 'EXIF Fields') }} {{ t('memories', 'EXIF Fields') }}
</div> </div>
<EditExif ref="editExif" :photos="photos" /> <EditExif ref="editExif" :photos="photos" @save="save" />
</div> </div>
<div v-if="sections.includes(4)"> <div v-if="sections.includes(4)">