mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Show viewer controls help twice not once on first run
This commit is contained in:
parent
1a442ec1d1
commit
25639069db
@ -503,7 +503,7 @@ class View:
|
|||||||
self.show_name(name, initial_position=pos)
|
self.show_name(name, initial_position=pos)
|
||||||
sd = get_session_data()
|
sd = get_session_data()
|
||||||
c = sd.get('controls_help_shown_count', 0)
|
c = sd.get('controls_help_shown_count', 0)
|
||||||
if c < 1:
|
if c < 2:
|
||||||
show_controls_help()
|
show_controls_help()
|
||||||
sd.set('controls_help_shown_count', c + 1)
|
sd.set('controls_help_shown_count', c + 1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user