mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +08:00
Overlay text message focus setting
This commit is contained in:
@@ -843,6 +843,8 @@ namespace BlackGui
|
||||
void CTextMessageComponent::focusTextEntry()
|
||||
{
|
||||
if (!ui->lep_TextMessages->isVisible()) { return; }
|
||||
const CTextMessageSettings s = m_messageSettings.get();
|
||||
if (m_usedAsOverlayWidget && !s.focusOverlayWindow()) { return; }
|
||||
ui->lep_TextMessages->setFocus();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user