Make new dialog description text visible on first show

This commit is contained in:
Jens Bache-Wiig
2010-05-11 11:30:10 +02:00
parent d343d2d1ac
commit 95719bc1b3

View File

@@ -282,6 +282,9 @@ Core::IWizard *NewDialog::showDialog()
for (int row = 0; row < m_proxyModel->rowCount(); ++row)
m_ui->templateCategoryView->setExpanded(m_proxyModel->index(row, 0), true);
// Ensure that item description is visible on first show
currentItemChanged(m_ui->templatesView->rootIndex().child(0,0));
updateOkButton();
if (exec() != Accepted)
return 0;