1
0
mirror of synced 2024-11-12 02:00:50 +01:00

Load all necessary controsl before altering the image editor orientation.

This commit is contained in:
KillzXGaming 2019-04-27 12:01:36 -04:00
parent fa4ada84bd
commit 5c2e09f849
4 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -97,6 +97,9 @@ namespace Switch_Toolbox.Library.Forms
{
InitializeComponent();
propertiesEditor = new ImagePropertiesEditor();
propertiesEditor.Dock = DockStyle.Fill;
saveBtn.Enabled = HasBeenEdited;
imageToolStripMenuItem.Enabled = false;
@ -112,9 +115,6 @@ namespace Switch_Toolbox.Library.Forms
propertyGridToolStripMenuItem.Checked = Runtime.ImageEditor.ShowPropertiesPanel;
propertiesEditor = new ImagePropertiesEditor();
propertiesEditor.Dock = DockStyle.Fill;
if (!propertyGridToolStripMenuItem.Checked)
HidePropertyGrid(true);
else