diff --git a/gui/MCModInfoFrame.cpp b/gui/MCModInfoFrame.cpp
index a0458cbc..51651e33 100644
--- a/gui/MCModInfoFrame.cpp
+++ b/gui/MCModInfoFrame.cpp
@@ -24,8 +24,12 @@ void MCModInfoFrame::updateWithMod(Mod &m)
}
QString text = "";
- if(m.homeurl().isEmpty()) text = m.name();
- else text = "" + m.name() + "";
+ QString name = "";
+ if(m.name().isEmpty()) name = m.id();
+ else name = m.name();
+
+ if(m.homeurl().isEmpty()) text = name;
+ else text = "" + name + "";
if(!m.authors().isEmpty()) text += " by " + m.authors();
setModText(text);