Skip to content

Commit

Permalink
Copy frame name to middle click clipboard
Browse files Browse the repository at this point in the history
User workflow requires single click frame name selection
in the FrameMonitorTree to copy to the QtGui clipboard,
updated to allow users this capability.
  • Loading branch information
roulaoregan-spi committed May 17, 2021
1 parent 9037dcb commit c0629a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cuegui/cuegui/FrameMonitorTree.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ 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 c0629a9

Please sign in to comment.