Beautified the settings dialog
Double-clicking a folder in the behaves like open folder FossilOrigin-Name: 8a4fbbb14628b2dc53b8d46a35a3b4f43182db9c
This commit is contained in:
@ -1832,6 +1832,12 @@ void MainWindow::on_actionOpenFolder_triggered()
|
||||
return;
|
||||
|
||||
QModelIndex index = selection.indexes().at(0);
|
||||
on_treeView_doubleClicked(index);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
void MainWindow::on_treeView_doubleClicked(const QModelIndex &index)
|
||||
{
|
||||
QString target = repoDirModel.data(index, REPODIRMODEL_ROLE_PATH).toString();
|
||||
target = getCurrentWorkspace() + PATH_SEP + target;
|
||||
|
||||
@ -2003,4 +2009,3 @@ _exit:
|
||||
refresh();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user