Commit 709c79c6 authored by JanKusanagi's avatar JanKusanagi

Delete the character picker at the proper time

parent 007eae88
......@@ -101,7 +101,6 @@ void CharacterPicker::onCodePointChanged(uint codepoint)
qDebug() << "CharacterPicker, character selected:" << codepoint;
this->close();
this->deleteLater();
}
......@@ -115,6 +114,8 @@ void CharacterPicker::closeEvent(QCloseEvent *event)
QSettings settings;
settings.setValue("CharacterPicker/charPickerWindowSize", this->size());
this->deleteLater();
event->accept();
}
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