Commit 5e99950e authored by Max-Wilhelm Bruker's avatar Max-Wilhelm Bruker
Browse files

also copy deck to selection buffer when saving to clipboard

parent 88816ba8
......@@ -354,7 +354,8 @@ void WndDeckEditor::actSaveDeckToClipboard()
QString buffer;
QTextStream stream(&buffer);
deckModel->getDeckList()->saveToStream_Plain(stream);
QApplication::clipboard()->setText(buffer);
QApplication::clipboard()->setText(buffer, QClipboard::Clipboard);
QApplication::clipboard()->setText(buffer, QClipboard::Selection);
}
void WndDeckEditor::actPrintDeck()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment