From f572c36097920295a5f65b4908cc7cc82321ba2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Garramu=C3=B1o?= Date: Wed, 18 Sep 2024 03:30:07 -0300 Subject: [PATCH] Fixed crash when deleting all images and showing Media Info Panel. --- src/lib/mrvPanels/mrvImageInfoPanel.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/mrvPanels/mrvImageInfoPanel.cpp b/src/lib/mrvPanels/mrvImageInfoPanel.cpp index 810e0f774..4dc01b287 100644 --- a/src/lib/mrvPanels/mrvImageInfoPanel.cpp +++ b/src/lib/mrvPanels/mrvImageInfoPanel.cpp @@ -2302,6 +2302,9 @@ namespace mrv { tagData.clear(); + if (!player) + return; + const auto& info = player->ioInfo(); // First, add global tags