"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/texstudio.cpp" between
texstudio-2.12.20.tar.gz and texstudio-2.12.22.tar.gz

About: TeXstudio is an integrated environment for writing LaTeX documents (as easy and comfortable as possible).

texstudio.cpp  (texstudio-2.12.20):texstudio.cpp  (texstudio-2.12.22)
skipping to change at line 5575 skipping to change at line 5575
statusTbLanguage->setText(name); statusTbLanguage->setText(name);
} }
} }
void Texstudio::changeEditorSpeller() void Texstudio::changeEditorSpeller()
{ {
QAction *action = qobject_cast<QAction *>(sender()); QAction *action = qobject_cast<QAction *>(sender());
if (!action) return; if (!action) return;
if (!currentEditorView()) return; if (!currentEditorView()) return;
if (!currentEditorView()->setSpeller(action->data().toString())) { if (!currentEditorView()->setSpeller(action->data().toString(),true)) {
// restore activity of previous action // restore activity of previous action
foreach (QAction *act, statusTbLanguage->actions()) { foreach (QAction *act, statusTbLanguage->actions()) {
if (act->data().toString() == currentEditorView()->getSpe ller()) { if (act->data().toString() == currentEditorView()->getSpe ller()) {
act->setChecked(true); act->setChecked(true);
break; break;
} }
} }
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)