mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-25 17:16:33 -05:00
parent
77746846da
commit
301c64d68c
1 changed files with 3 additions and 2 deletions
|
|
@ -100,8 +100,9 @@ void Clipboard::clearCopiedText()
|
|||
return;
|
||||
}
|
||||
|
||||
if (m_lastCopied == clipboard->text(QClipboard::Clipboard)
|
||||
|| m_lastCopied == clipboard->text(QClipboard::Selection)) {
|
||||
if (!m_lastCopied.isEmpty()
|
||||
&& (m_lastCopied == clipboard->text(QClipboard::Clipboard)
|
||||
|| m_lastCopied == clipboard->text(QClipboard::Selection))) {
|
||||
clipboard->clear(QClipboard::Clipboard);
|
||||
clipboard->clear(QClipboard::Selection);
|
||||
#ifdef Q_OS_UNIX
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue