Fehle in Tooltip gefixt

This commit is contained in:
2026-09-07 20:16:07 +02:00
parent cee8f57ab7
commit 37b6343506
8 changed files with 44 additions and 5 deletions

View File

@@ -57,6 +57,23 @@ void SignatureHelper::loadDatabase()
}
}
// ---------------------------------------------------------------------------
// Editor hat den Fokus verloren — Tooltip schließen, damit es nicht
// als verwaistes Fenster über allen Workspaces stehen bleibt.
// ---------------------------------------------------------------------------
void SignatureHelper::notifyFocusLost()
{
m_tooltip->hide();
}
// ---------------------------------------------------------------------------
// Tooltip sofort schließen (z. B. per Escape)
// ---------------------------------------------------------------------------
void SignatureHelper::dismiss()
{
m_tooltip->hide();
}
// ---------------------------------------------------------------------------
// Cursor-Bewegung auswerten
// ---------------------------------------------------------------------------