Load all necessary controsl before altering the image editor orientation.
This commit is contained in:
parent
fa4ada84bd
commit
5c2e09f849
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user