message: also prevent reopening when double-click in Recent
diff: @@ -588,6 +588,13 @@ SideBar::SideBar(TabWidget *tabs, QWidget *parent)
  // Open existing path.
  QString path = index.data(PathRole).toString();
  if (!path.isEmpty()) {
  + for (int i = 0; i < tabs->count(); i++) {
  + RepoView *view = static_cast<RepoView *>(tabs->widget(i));
  + if (path == view->repo().workdir().path()) {
  + tabs->setCurrentIndex(i);
  + return;
  + }
  + }
  MainWindow::open(path);
  return;
  }
  