diff options
Diffstat (limited to 'sd/source/ui/dlg/RemoteDialogClientBox.cxx')
-rw-r--r-- | sd/source/ui/dlg/RemoteDialogClientBox.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.cxx b/sd/source/ui/dlg/RemoteDialogClientBox.cxx index 47769d27a76d..69c0b0c06a1a 100644 --- a/sd/source/ui/dlg/RemoteDialogClientBox.cxx +++ b/sd/source/ui/dlg/RemoteDialogClientBox.cxx @@ -251,6 +251,9 @@ void ClientBox::selectEntry( const long nPos ) Invalidate(); } + // We empty the pin box now too, just in case the user previously + // entered a pin, but then changed their selected device. + m_aPinBox.SetText( "" ); guard.clear(); } @@ -333,7 +336,6 @@ void ClientBox::DrawRow( const Rectangle& rRect, const TClientBoxEntry pEntry ) aBtnPos = Point( aRect.Left() + GetTextWidth( sPinText ), aRect.Bottom() - TOP_OFFSET - aBtnSize.Height() ); - } m_aPinBox.SetPosPixel( aBtnPos ); m_aPinBox.Show( !bAlreadyAuthorised ); |