Drop to background on copy feature
This commit is contained in:
committed by
Jonathan White
parent
d49e74c1f4
commit
8e248bbde6
@@ -625,8 +625,12 @@ void DatabaseWidget::showTotpKeyQrCode()
|
||||
void DatabaseWidget::setClipboardTextAndMinimize(const QString& text)
|
||||
{
|
||||
clipboard()->setText(text);
|
||||
if (config()->get("MinimizeOnCopy").toBool()) {
|
||||
window()->showMinimized();
|
||||
if (config()->get("HideWindowOnCopy").toBool()) {
|
||||
if (config()->get("MinimizeOnCopy").toBool()) {
|
||||
window()->showMinimized();
|
||||
} else if (config()->get("DropToBackgroundOnCopy").toBool()) {
|
||||
window()->lower();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user