1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Steve Borho  committed bcf0854

filedialogs: only allow single selection (refs #1871)

  • Participants
  • Parent commits 3590c56
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/filedialogs.py

View file
         self.setCentralWidget(self.splitter)
         cs = ('fileLogDialog', _('File History Log Columns'))
         self.repoview = repoview.HgRepoView(self.repo, cs[0], cs, self.splitter)
+        self.repoview.setSelectionMode(QAbstractItemView.SingleSelection)
         self.contentframe = QFrame(self.splitter)
 
         vbox = QVBoxLayout()
                                                              cs, self)
         self.horizontalLayout.addWidget(self.tableView_revisions_left)
         self.horizontalLayout.addWidget(self.tableView_revisions_right)
+        self.tableView_revisions_right.setSelectionMode(QAbstractItemView.SingleSelection)
+        self.tableView_revisions_left.setSelectionMode(QAbstractItemView.SingleSelection)
         self.frame = QFrame()
         self.splitter.addWidget(layouttowidget(self.horizontalLayout))
         self.splitter.addWidget(self.frame)