Skip to content

Commit ebae012

Browse files
committed
fixed "ArgumentException: Getting control 2's position in a group with only 2 controls when doing repaint" that occurred very often when loading a snapshot
1 parent b9ab885 commit ebae012

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Editor/Scripts/HeapExplorerWindow.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,12 +433,9 @@ void DrawStatusBar()
433433
{
434434
using (new GUILayout.HorizontalScope(GUILayout.ExpandWidth(true)))
435435
{
436-
//GUILayout.Label(m_StatusBarString, EditorStyles.boldLabel);
437436
GUILayout.Label(m_StatusBarString);
438-
439437
GUILayout.FlexibleSpace();
440-
if (!string.IsNullOrEmpty(snapshotPath))
441-
GUILayout.Label(snapshotPath);
438+
GUILayout.Label(snapshotPath ?? "");
442439
}
443440

444441
// Darken the status area a little

0 commit comments

Comments
 (0)