mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-22 06:26:30 +00:00
Add default copy-paste handlers for RDListWidget and RDTreeWidget
This commit is contained in:
@@ -2253,7 +2253,7 @@ void TextureViewer::render_keyPress(QKeyEvent *e)
|
||||
if(texptr == NULL)
|
||||
return;
|
||||
|
||||
if((e->modifiers() & Qt::ControlModifier) && e->key() == Qt::Key_C)
|
||||
if(e->matches(QKeySequence::Copy))
|
||||
{
|
||||
QClipboard *clipboard = QApplication::clipboard();
|
||||
clipboard->setText(ui->texStatusDim->text() + lit(" | ") + ui->statusText->text());
|
||||
|
||||
Reference in New Issue
Block a user