Skip to content

Commit

Permalink
edit-exif: enter to save
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <[email protected]>
  • Loading branch information
pulsejet committed Aug 25, 2023
1 parent aa04736 commit 991babb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/modal/EditExif.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
trailing-button-icon="close"
:show-trailing-button="dirty[field.field]"
@trailing-button-click="reset(field)"
@keypress.enter="$emit('save')"
/>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/modal/EditMetadataModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div class="title-text">
{{ t('memories', 'EXIF Fields') }}
</div>
<EditExif ref="editExif" :photos="photos" />
<EditExif ref="editExif" :photos="photos" @save="save" />
</div>

<div v-if="sections.includes(4)">
Expand Down

0 comments on commit 991babb

Please sign in to comment.