jl152#i77196# better handling of extensions with unaccepted license
This commit is contained in:
parent
a340fb93fa
commit
057d47a436
1 changed files with 5 additions and 5 deletions
|
@ -1020,14 +1020,14 @@ void ExtensionBox_Impl::updateEntry( const uno::Reference< deployment::XPackage
|
|||
(*iIndex)->m_sVersion = xPackage->getVersion();
|
||||
(*iIndex)->m_sDescription = xPackage->getDescription();
|
||||
|
||||
if ( eState == AMBIGUOUS )
|
||||
(*iIndex)->m_sErrorText = DialogHelper::getResourceString( RID_STR_ERROR_UNKNOWN_STATUS );
|
||||
else
|
||||
(*iIndex)->m_sErrorText = String();
|
||||
|
||||
if ( eState == REGISTERED )
|
||||
(*iIndex)->m_bMissingLic = false;
|
||||
|
||||
if ( eState == AMBIGUOUS )
|
||||
(*iIndex)->m_sErrorText = DialogHelper::getResourceString( RID_STR_ERROR_UNKNOWN_STATUS );
|
||||
else if ( ! (*iIndex)->m_bMissingLic )
|
||||
(*iIndex)->m_sErrorText = String();
|
||||
|
||||
if ( IsReallyVisible() )
|
||||
Invalidate();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue