Commit 11cb9cac authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Prevent crashing when trying to update the current patch.

BUG: 275145
parent 3f9ca33d
......@@ -1159,9 +1159,11 @@ void PatchReviewPlugin::showPatch()
void PatchReviewPlugin::forceUpdate()
{
m_patch->update();
if(m_patch) {
m_patch->update();
notifyPatchChanged();
notifyPatchChanged();
}
}
void PatchReviewPlugin::updateKompareModel() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment