Skip to content

Commit

Permalink
display template on status bar
Browse files Browse the repository at this point in the history
  • Loading branch information
igorseabra4 committed Nov 26, 2018
1 parent 415fbc2 commit 9ff4cfa
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 31 deletions.
2 changes: 1 addition & 1 deletion IndustrialPark/MainForm/AboutBox.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

75 changes: 46 additions & 29 deletions IndustrialPark/MainForm/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion IndustrialPark/MainForm/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -936,10 +936,13 @@ private void ensureAssociationsToolStripMenuItem_Click(object sender, EventArgs
FileAssociations.FileAssociations.EnsureAssociationsSet();
}

private void toolStripComboBoxAssetTemplate_Click(object sender, EventArgs e)
private void toolStripComboBoxAssetTemplate_SelectedIndexChanged(object sender, EventArgs e)
{
if (toolStripComboBoxAssetTemplate.SelectedIndex != -1)
{
ArchiveEditorFunctions.CurrentAssetTemplate = (AssetTemplate)toolStripComboBoxAssetTemplate.SelectedItem;
toolStripStatusLabelTemplate.Text = "Template: " + ArchiveEditorFunctions.CurrentAssetTemplate.ToString();
}
}
}
}

0 comments on commit 9ff4cfa

Please sign in to comment.