forked from M-Labs/artiq
1
0
Fork 0

browser: remove copy_rev stub

This commit is contained in:
Robert Jördens 2016-07-09 18:41:30 +02:00
parent 7ce9fc714a
commit 6d0ae689e9
1 changed files with 0 additions and 11 deletions

View File

@ -161,19 +161,8 @@ class FilesDock(QtWidgets.QDockWidget):
self.rl.activated.connect(self.list_activated) self.rl.activated.connect(self.list_activated)
self.splitter.addWidget(self.rl) self.splitter.addWidget(self.rl)
self.rl.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
rev_copy = QtWidgets.QAction("Copy repo_rev (SHIFT-CTRL-C)",
self.rl)
rev_copy.triggered.connect(self._copy_repo_rev)
rev_copy.setShortcut("SHIFT-CTRL-C")
rev_copy.setShortcutContext(QtCore.Qt.WidgetShortcut)
self.rl.addAction(rev_copy)
self.restore_selection = restore_selection self.restore_selection = restore_selection
def _copy_repo_rev(self):
pass
def tree_current_changed(self, current, previous): def tree_current_changed(self, current, previous):
idx = self.rt.model().mapToSource(current) idx = self.rt.model().mapToSource(current)
self.rl.setRootIndex(idx) self.rl.setRootIndex(idx)