MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Calibre (https://www.mobileread.com/forums/forumdisplay.php?f=166)
-   -   Request: "Are You Sure" Prompt for "Edit ToC" (https://www.mobileread.com/forums/showthread.php?t=340885)

DaveLessnau 07-27-2021 06:11 PM

Request: "Are You Sure" Prompt for "Edit ToC"
 
This was my own fault. When I had all 643 books in my Calibre Library selected, I accidentally hit the "Edit ToC" button I'd added to my menu bar. Off the program went trying to open to ToC for all those books. Everything ground to a halt as it furiously churned away (I can't imagine it would have ever succeeded). It took me a bit to get to a point where I could reboot the machine to escape from that.

Just to head off future silliness on my, or others', part, would it be possible to add a prompt asking something like "Are You Sure" when that button is pressed with more than a reasonable number of books selected?

kovidgoyal 07-27-2021 11:13 PM

https://github.com/kovidgoyal/calibr...8e49a2d3690b35

DaveLessnau 07-28-2021 12:15 AM

Wow! Thanks, Kovid.


All times are GMT -4. The time now is 07:13 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.