mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix crash on invalid lottie file selection.
This commit is contained in:
@@ -308,9 +308,6 @@ void DocumentOpenClickHandler::Open(
|
||||
if (QImageReader(path).canRead()) {
|
||||
Core::App().showDocument(data, context);
|
||||
return;
|
||||
//} else if (Lottie::ValidateFile(path)) {
|
||||
// Core::App().showDocument(data, context);
|
||||
// return;
|
||||
}
|
||||
}
|
||||
LaunchWithWarning(location.name(), context);
|
||||
|
||||
Reference in New Issue
Block a user