Skip to content

Commit

Permalink
Прячем вкладку скриптов если их нет
Browse files Browse the repository at this point in the history
  • Loading branch information
VaIeroK committed Jul 16, 2022
1 parent 34903fd commit 11ef610
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/App/ObjectEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ public Object_Editor()
}
}

loadScriptToolStripMenuItem.Visible = loadScriptToolStripMenuItem.DropDownItems.Count > 0;

if (Environment.GetCommandLineArgs().Length > 1)
{
IsOgfMode = false;
Expand Down

0 comments on commit 11ef610

Please sign in to comment.