status-desktop/ui/shared/status/StatusChatInputTextFormatio...

13 lines
373 B
QML
Raw Normal View History

import QtQuick 2.13
import QtQuick.Controls 2.13
Action {
property string wrapper
icon.width: 12
icon.height: 16
onTriggered: textFormatMenu.surroundedBy(wrapper) ?
unwrapSelection(wrapper, textFormatMenu.selectedTextWithFormationChars) :
wrapSelection(wrapper)
checked: textFormatMenu.surroundedBy(wrapper)
}