diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2015-12-11 12:45:14 +0000 |
|---|---|---|
| committer | CI Train Bot <ci-train-bot@canonical.com> | 2015-12-11 12:45:14 +0000 |
| commit | 5980b00247e16f9747979b6e49f84cee10aa4b37 (patch) | |
| tree | 40164aca9def9323d91ba7fd4222288f852c3ab8 /lockscreen | |
| parent | 9c80c5d0abf2949f027bbe7d70dbf2e2e05fd948 (diff) | |
| parent | 2e724ebfb214c61436fd0fe13ae39abb0e601979 (diff) | |
TextInput: show warning also when num lock is enabled
Approved by: Andrea Azzarone (bzr r4044)
Diffstat (limited to 'lockscreen')
| -rw-r--r-- | lockscreen/UserPromptView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lockscreen/UserPromptView.cpp b/lockscreen/UserPromptView.cpp index 064c899d9..baf26c423 100644 --- a/lockscreen/UserPromptView.cpp +++ b/lockscreen/UserPromptView.cpp @@ -317,7 +317,7 @@ void UserPromptView::AddPrompt(std::string const& message, bool visible, Promise text_input->scale = scale(); text_input->input_hint = SanitizeMessage(message); text_input->hint_font_size = PROMPT_FONT_SIZE; - text_input->show_caps_lock = true; + text_input->show_lock_warnings = true; text_input->show_activator = true; text_entry->SetPasswordMode(!visible); text_entry->SetPasswordChar("•"); |
