Show viewer controls help twice not once on first run

This commit is contained in:
Kovid Goyal 2019-09-12 12:34:14 +05:30
parent 1a442ec1d1
commit 25639069db
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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)