Kaydet (Commit) 208ecfa8 authored tarafından Caolán McNamara's avatar Caolán McNamara

select first entry initially

Change-Id: Ib4591197b17811a37b3a33f943fff03f1efd9550
Reviewed-on: https://gerrit.libreoffice.org/69114
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst da195d75
......@@ -1192,6 +1192,11 @@ void SvxLinguTabPage::UpdateDicBox_Impl()
}
m_xLinguDicsCLB->thaw();
if (m_xLinguDicsCLB->n_children())
{
m_xLinguDicsCLB->select(0);
SelectHdl_Impl(*m_xLinguDicsCLB);
}
}
void SvxLinguTabPage::UpdateModulesBox_Impl()
......@@ -1211,6 +1216,11 @@ void SvxLinguTabPage::UpdateModulesBox_Impl()
m_xLinguModulesCLB->set_toggle(i, rInfo.bConfigured, 0);
m_xLinguModulesCLB->set_text(i, rInfo.sDisplayName, 1);
}
if (nDispSrvcCount)
{
m_xLinguModulesCLB->select(0);
SelectHdl_Impl(*m_xLinguModulesCLB);
}
m_xLinguModulesEditPB->set_sensitive( nDispSrvcCount > 0 );
}
}
......@@ -1340,6 +1350,9 @@ void SvxLinguTabPage::Reset( const SfxItemSet* rSet )
m_xLinguOptionsCLB->thaw();
m_xLinguOptionsCLB->select(0);
SelectHdl_Impl(*m_xLinguOptionsCLB);
m_xLinguModulesCLB->set_size_request(m_xLinguModulesCLB->get_preferred_size().Width(),
m_xLinguModulesCLB->get_height_rows(3));
m_xLinguDicsCLB->set_size_request(m_xLinguDicsCLB->get_preferred_size().Width(),
......
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