Commit 45e84e1e authored by JanKusanagi's avatar JanKusanagi

Give focus back to the text composer

parent 86dec7c8
......@@ -1711,6 +1711,9 @@ void Publisher::updateCharacterCounter()
#ifdef HAVE_KCHARSELECT
void Publisher::showCharacterPicker()
{
// Make focus default to the composer when the character picker is closed
m_composerBox->setFocus();
m_characterPicker = new CharacterPicker(this);
connect(m_characterPicker, &CharacterPicker::characterSelected,
m_composerBox, &Composer::insertHtml);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment