current_library_name shows previous library after switching
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Charles Haley |
Bug Description
I have a custom column "#sendtopath" with either of the two values:
{:'current_
{:'current_
This way, I can have the Sending books to devices > Save template set to {#sendtopath} and I don't have to keep changing the preferences when I switch libraries.
The current library name is displayed correctly when starting Calibre. However, it displays the previous library name instead of the current library name after switching libraries. I have to restart Calibre for it to display the correct library name.
I've also tried creating a template function devicePath which calls current_
This is with calibre 0.8.54 tested on both 32-bit Windows XP and 7. I haven't tried 0.8.55 yet. I'm currently on cellular data so download's gonna take a while. However, I checked the changelog and I don't think any changes were made to the current_
Thanks!
Related branches
- Kovid Goyal: Pending requested
-
Diff: 17 lines (+5/-2)1 file modifiedsrc/calibre/library/caches.py (+5/-2)
Changed in calibre: | |
status: | Fix Committed → Fix Released |
Changing the component for this bug.
assignee cbhaley
status triaged