Commit ae058202 authored by Christophe Courtaut's avatar Christophe Courtaut

Enable the forward button in import controller

parent 07c343c1
......@@ -68,7 +68,7 @@ ImportController::ImportController(QWidget *parent) :
m_ui->treeView->setColumnHidden( 1, true );
m_ui->treeView->setColumnHidden( 2, true );
m_ui->treeView->setColumnHidden( 3, true );
m_ui->forwardButton->setEnabled( false );
m_ui->forwardButton->setEnabled( true );
m_fsWatcher = new QFileSystemWatcher();
m_fsWatcher->addPath( m_currentlyWatchedDir );
......@@ -297,6 +297,7 @@ ImportController::collapseAllButCurrentPath()
m_ui->treeView->setCurrentIndex( m_filesModel->index( paths.takeFirst() ) );
m_ui->treeView->setExpanded( m_ui->treeView->currentIndex() , true );
}
m_ui->forwardButton->setEnabled( true );
}
void
......
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