1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Fixed crash hovering over tab for new file

This commit is contained in:
Brian Fiete 2020-10-12 01:24:39 -07:00
parent 21f65c5440
commit 60b162ba90

View file

@ -5822,7 +5822,7 @@ namespace IDE
if (DarkTooltipManager.CheckMouseover(this, 25, out point))
{
var sourceViewPanel = mContent as SourceViewPanel;
if (sourceViewPanel != null)
if ((sourceViewPanel != null) && (sourceViewPanel.mFilePath != null))
DarkTooltipManager.ShowTooltip(sourceViewPanel.mFilePath, this, point.x, 14);
}
}