Correctly host rich message in the item.

This commit is contained in:
John Preston
2026-05-29 23:59:47 +04:00
parent e1e49ce4ea
commit ea438aeb85
11 changed files with 117 additions and 26 deletions
@@ -96,8 +96,7 @@ void DocumentSaveClickHandler::Save(
return;
}
const auto filepath = data->filepath(true);
const auto fileinfo = QFileInfo(
);
const auto fileinfo = QFileInfo(filepath);
const auto filedir = filepath.isEmpty()
? QDir()
: fileinfo.dir();