Hide history row when viewing history items.

This commit is contained in:
Felix Geyer 2012-07-02 00:15:31 +02:00
parent 61984a5748
commit d0fd9af5e6
3 changed files with 9 additions and 2 deletions

View file

@ -46,6 +46,11 @@ void EditWidget::add(const QString& labelText, QWidget* widget)
m_ui->stackedWidget->addWidget(widget);
}
void EditWidget::setRowHidden(int row, bool hide)
{
m_ui->categoryList->item(row)->setHidden(hide);
}
void EditWidget::setCurrentRow(int index)
{
m_ui->categoryList->setCurrentRow(index);