mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00: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