Update DocumentsManager.hpp

This commit is contained in:
Andrea Cavalli 2020-04-27 23:41:29 +02:00
parent 0b1274c3fa
commit 094d0fc2b0

View File

@ -53,7 +53,7 @@ FileId DocumentsManager::parse_document(ParserT &parser) {
if (parser.version() >= static_cast<int32>(Version::SupportMinithumbnails)) {
string tmp_minithumbnail;
parse(tmp_minithumbnail, parser);
if (G()->shared_config().get_option_boolean("disable_document_filenames")) {
if (!G()->shared_config().get_option_boolean("disable_minithumbnails")) {
document->minithumbnail = tmp_minithumbnail;
}
}