0001-Reset-EnableSpellCheck-on-switch-in-case-it-was-auto.patch
| src/qtui/inputwidget.cpp | ||
|---|---|---|
| 204 | 204 | |
| 205 | 205 |
void InputWidget::currentChanged(const QModelIndex ¤t, const QModelIndex &previous) {
|
| 206 | 206 |
Q_UNUSED(previous) |
| 207 | ||
| 208 |
#ifdef HAVE_KDE |
|
| 209 |
// reset EnableSpellCheck in case it was deactivated by too many errors |
|
| 210 |
UiSettings s("InputWidget");
|
|
| 211 |
s.notify("EnableSpellCheck", this, SLOT(setEnableSpellCheck(QVariant)));
|
|
| 212 |
setEnableSpellCheck(s.value("EnableSpellCheck", false));
|
|
| 213 |
#endif |
|
| 214 | ||
| 207 | 215 |
NetworkId networkId = current.data(NetworkModel::NetworkIdRole).value<NetworkId>(); |
| 208 | 216 |
if(networkId == _networkId) |
| 209 | 217 |
return; |
| 210 |
- |
|