Skip to content

Commit 210b859

Browse files
committed
Update the context menu after copying thumbnails
1 parent cc680f6 commit 210b859

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

web/pdf_thumbnail_viewer.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,9 @@ class PDFThumbnailViewer {
894894
this.#manageCopyButton.disabled =
895895
this.#manageCutButton.disabled =
896896
!enable;
897+
this.#dispatchUpdateStates({
898+
hasSelectedPages: false,
899+
});
897900
}
898901

899902
#updateStatus(type) {

0 commit comments

Comments
 (0)