diff options
| author | Andrea Azzarone <azzaronea@gmail.com> | 2014-06-07 16:26:51 +0000 |
|---|---|---|
| committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-06-07 16:26:51 +0000 |
| commit | 231eddcc47df3ad527081598a80dce74da9a36a4 (patch) | |
| tree | 39563dd36736239226a8c32d39dfa9872fda6cbb /lockscreen | |
| parent | 3dc6cc4969d58ff9d55d3b26a4a3b5085d0c2e9e (diff) | |
| parent | 9cdecfdfa063a4cbb52b9f34a037a7425ebbccd0 (diff) | |
Clear the clipboard when locking the screen. Fixes: 1308911
(bzr r3817)
Diffstat (limited to 'lockscreen')
| -rw-r--r-- | lockscreen/UserPromptView.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lockscreen/UserPromptView.cpp b/lockscreen/UserPromptView.cpp index 5c99fefe9..8fc635e9a 100644 --- a/lockscreen/UserPromptView.cpp +++ b/lockscreen/UserPromptView.cpp @@ -245,6 +245,7 @@ void UserPromptView::AddPrompt(std::string const& message, bool visible, Promise text_entry->SetPasswordMode(!visible); text_entry->SetPasswordChar("•"); text_entry->SetToggleCursorVisibilityOnKeyFocus(true); + text_entry->clipboard_enabled = false; text_input->SetMinimumHeight(Settings::GRID_SIZE); text_input->SetMaximumHeight(Settings::GRID_SIZE); |
