Skip to content

Commit

Permalink
fix #3348
Browse files Browse the repository at this point in the history
  • Loading branch information
sunderme committed Nov 7, 2023
1 parent f4f9a1a commit efb1d21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/searchresultmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ QVariant SearchResultModel::dataForSearchResult(const SearchInfo &search, int ro
}
LatexDocument *ldoc=dynamic_cast<LatexDocument*>(search.doc.data());
QString fn=ldoc->getFileName();
if(fn.isEmpty()) fn=tr("untitled");
return QDir::toNativeSeparators(fn);
}
}
Expand Down

0 comments on commit efb1d21

Please sign in to comment.