Kaydet (Commit) 6f2136f5 authored tarafından Rachit Gupta's avatar Rachit Gupta Kaydeden (comit) Jan Holesovsky

The selected theme is shown in the progress label.

The name of the theme is displayed in the progress label whenever
the user clicks on one of the results.

Change-Id: I4810c9e5faec1b1a5156716b9a62b1256951425c
üst 7631fe63
......@@ -128,8 +128,15 @@ IMPL_LINK( SelectPersonaDialog, SelectPersona, PushButton*, pButton )
if( pButton == m_vResultList[index] )
{
if( !m_vPersonaSettings[index].isEmpty() )
{
m_aSelectedPersona = m_vPersonaSettings[index];
// get the persona name from the setting variable to show in the progress.
sal_Int32 nNameIndex = m_aSelectedPersona.indexOf( ';' );
OUString aName = m_aSelectedPersona.copy( 0, nNameIndex );
OUString aProgress( "Selected Persona: " );
aProgress += aName;
SetProgress( aProgress );
}
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment