mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove unused current_profile
This commit is contained in:
parent
d016186860
commit
3808bf47ca
@ -36,7 +36,8 @@ def use_profile(container_id, profile_name, profile_data):
|
||||
container = document.getElementById(container_id)
|
||||
if not container:
|
||||
return
|
||||
apply_reader_profile(get_session_data(), profile_data)
|
||||
sd = get_session_data()
|
||||
apply_reader_profile(sd, profile_data)
|
||||
container.dispatchEvent(new Event('settings_changed'))
|
||||
container.dispatchEvent(new Event('close_panel'))
|
||||
|
||||
|
@ -77,7 +77,6 @@ all_settings = {
|
||||
'book_search_case_sensitive': {'default': False, 'category': 'read_book', 'is_local': True},
|
||||
'reverse_page_turn_zones': {'default': False, 'category': 'read_book', 'is_local': True},
|
||||
'gesture_overrides': {'default': {}, 'category': 'read_book'},
|
||||
'current_profile': {'default': None, 'category': 'read_book', 'is_local': True, 'disallowed_in_profile': True},
|
||||
}
|
||||
|
||||
defaults = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user