also copy deck to selection buffer when saving to clipboard
This commit is contained in:
parent
88816ba8a3
commit
5e99950e1f
1 changed files with 2 additions and 1 deletions
|
@ -354,7 +354,8 @@ void WndDeckEditor::actSaveDeckToClipboard()
|
||||||
QString buffer;
|
QString buffer;
|
||||||
QTextStream stream(&buffer);
|
QTextStream stream(&buffer);
|
||||||
deckModel->getDeckList()->saveToStream_Plain(stream);
|
deckModel->getDeckList()->saveToStream_Plain(stream);
|
||||||
QApplication::clipboard()->setText(buffer);
|
QApplication::clipboard()->setText(buffer, QClipboard::Clipboard);
|
||||||
|
QApplication::clipboard()->setText(buffer, QClipboard::Selection);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WndDeckEditor::actPrintDeck()
|
void WndDeckEditor::actPrintDeck()
|
||||||
|
|
Loading…
Reference in a new issue