~michael-sheldon/ubuntu-keyboard/fix-1411645

« back to all changes in this revision

Viewing changes to src/plugin/inputmethod.cpp

  • Committer: Michael Sheldon
  • Date: 2015-02-02 15:06:39 UTC
  • mfrom: (284.1.9 ubuntu-keyboard)
  • Revision ID: michael.sheldon@canonical.com-20150202150639-ig6ojwiu6m9tr0kx
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
268
268
    if (enabled != d->autocapsEnabled) {
269
269
        d->autocapsEnabled = enabled;
270
270
        d->editor.setAutoCapsEnabled(enabled);
 
271
        if (!enabled) {
 
272
            Q_EMIT deactivateAutocaps();
 
273
        }
271
274
    }
272
275
}
273
276