mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-11 02:26:10 -05:00
also copy deck to selection buffer when saving to clipboard
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user