void ChatSettingsWidget::onSendByCtrlEnter() { if (_sendByCtrlEnter->checked()) { cSetCtrlEnter(true); if (App::main()) App::main()->ctrlEnterSubmitUpdated(); Local::writeUserSettings(); } }
void SettingsInner::onEnterSend() { if (_enterSend.checked()) { cSetCtrlEnter(false); App::writeUserConfig(); } }
void SettingsInner::onCtrlEnterSend() { if (_ctrlEnterSend.checked()) { cSetCtrlEnter(true); App::writeUserConfig(); } }
void ChatSettingsWidget::sendByChanged(SendByType value) { cSetCtrlEnter(value == SendByType::CtrlEnter); if (App::main()) App::main()->ctrlEnterSubmitUpdated(); Local::writeUserSettings(); }