diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-06-27 17:53:07 +0200 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-06-30 07:45:22 +0200 |
commit | eba630ca1689d65d6f58c0e6bd7658cc6eac8dcc (patch) | |
tree | 8acca1a457212d35959cc02071c6b1aea32cad0f /sd | |
parent | a17737ef45af66b1f86759c02005c28d5585d534 (diff) |
Remote Dialog: give focus to pin entry when item selected.
Change-Id: I5718a5b881a32ecf4cebdbd6a682097119c26837
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/RemoteDialogClientBox.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.cxx b/sd/source/ui/dlg/RemoteDialogClientBox.cxx index 69c0b0c06a1a..f65145775121 100644 --- a/sd/source/ui/dlg/RemoteDialogClientBox.cxx +++ b/sd/source/ui/dlg/RemoteDialogClientBox.cxx @@ -343,6 +343,14 @@ void ClientBox::DrawRow( const Rectangle& rRect, const TClientBoxEntry pEntry ) aBtnPos.Move( 20, 0 ); m_aDeauthoriseButton.SetPosPixel( aBtnPos ); m_aDeauthoriseButton.Show( bAlreadyAuthorised ); + if ( bAlreadyAuthorised ) + { + m_aDeauthoriseButton.GetFocus(); + } + else + { + m_aPinBox.GetFocus(); + } } else { |