Skip to content

Commit

Permalink
fix #3358
Browse files Browse the repository at this point in the history
  • Loading branch information
sunderme committed Nov 10, 2023
1 parent d882eab commit 37aaf05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/latexeditorview.h
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,12 @@ private slots:
void lineMarkToolTip(int line, int mark);
void triggeredThesaurus();
void reloadSpeller();
void changeSpellingDict(const QString &name);
void copyImageFromAction();
void saveImageFromAction();

public slots:
void changeSpellingDict(const QString &name);

void cleanBib();

void jumpChangePositionBackward();
Expand Down
3 changes: 3 additions & 0 deletions src/texstudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2241,6 +2241,9 @@ LatexEditorView *Texstudio::load(const QString &f , bool asProject, bool recheck

configureNewEditorViewEnd(edView, true, false);

QString spellingDictName=doc->spellingDictName();
if(!spellingDictName.isEmpty()) edView->changeSpellingDict(spellingDictName);

documents.addDocument(doc, false);

if(unmodified)
Expand Down

0 comments on commit 37aaf05

Please sign in to comment.