mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-07-14 02:54:16 -04:00
improve export
This commit is contained in:
@ -307,7 +307,7 @@ namespace AssetStudioGUI
|
||||
if (dirty)
|
||||
{
|
||||
PreviewAsset(lastLoadedAsset);
|
||||
if (assetInfoLabel.Text != null)
|
||||
if (lastSelectedItem != null && assetInfoLabel.Text != null)
|
||||
{
|
||||
assetInfoLabel.Text = lastSelectedItem.InfoText;
|
||||
}
|
||||
@ -356,6 +356,12 @@ namespace AssetStudioGUI
|
||||
}
|
||||
}
|
||||
|
||||
private void displayAll_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
Properties.Settings.Default.displayAll = displayAll.Checked;
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
|
||||
private void enablePreview_Check(object sender, EventArgs e)
|
||||
{
|
||||
if (lastLoadedAsset != null)
|
||||
@ -433,18 +439,6 @@ namespace AssetStudioGUI
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
|
||||
private void MenuItem_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
Properties.Settings.Default[((ToolStripMenuItem)sender).Name] = ((ToolStripMenuItem)sender).Checked;
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
|
||||
private void assetGroupOptions_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
Properties.Settings.Default.assetGroupOption = ((ToolStripComboBox)sender).SelectedIndex;
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
|
||||
private void showExpOpt_Click(object sender, EventArgs e)
|
||||
{
|
||||
ExportOptions exportOpt = new ExportOptions();
|
||||
@ -1480,8 +1474,6 @@ namespace AssetStudioGUI
|
||||
displayAll.Checked = Properties.Settings.Default.displayAll;
|
||||
displayInfo.Checked = Properties.Settings.Default.displayInfo;
|
||||
enablePreview.Checked = Properties.Settings.Default.enablePreview;
|
||||
openAfterExport.Checked = Properties.Settings.Default.openAfterExport;
|
||||
assetGroupOptions.SelectedIndex = Properties.Settings.Default.assetGroupOption;
|
||||
FMODinit();
|
||||
|
||||
Logger.Default = new GUILogger(StatusStripUpdate);
|
||||
|
Reference in New Issue
Block a user