Skip to content

Commit

Permalink
Copy frame name to middle click clipboard. (#982)
Browse files Browse the repository at this point in the history
  • Loading branch information
roulaoregan-spi committed Jun 5, 2021
1 parent 5545b72 commit b174172
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cuegui/cuegui/FrameMonitorTree.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@ def __itemSingleClickedCopy(self, item, col):
selected = [
frame.data.name for frame in self.selectedObjects() if cuegui.Utils.isFrame(frame)]
if selected:
QtWidgets.QApplication.clipboard().setText(" ".join(selected))
QtWidgets.QApplication.clipboard().setText(" ".join(selected),
QtGui.QClipboard.Selection)

def __itemSingleClickedViewLog(self, item, col):
"""Called when an item is clicked on. Views the log file contents
Expand Down

0 comments on commit b174172

Please sign in to comment.