mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
@@ -1246,6 +1246,16 @@ void InputField::updatePalette() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cursor = textCursor();
|
||||
if (!cursor.hasSelection()) {
|
||||
auto format = cursor.charFormat();
|
||||
format.merge(PrepareTagFormat(
|
||||
_st,
|
||||
format.property(kTagProperty).toString()));
|
||||
cursor.setCharFormat(format);
|
||||
setTextCursor(cursor);
|
||||
}
|
||||
}
|
||||
|
||||
void InputField::onTouchTimer() {
|
||||
|
||||
Reference in New Issue
Block a user