From eba630ca1689d65d6f58c0e6bd7658cc6eac8dcc Mon Sep 17 00:00:00 2001 From: Andrzej Hunt Date: Fri, 27 Jun 2014 17:53:07 +0200 Subject: [PATCH] Remote Dialog: give focus to pin entry when item selected. Change-Id: I5718a5b881a32ecf4cebdbd6a682097119c26837 --- sd/source/ui/dlg/RemoteDialogClientBox.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) 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 {