Fill out default script editor contents after initialising python

This commit is contained in:
baldurk
2017-03-13 13:30:06 +00:00
parent 8b9dcbe519
commit bda6cf0870
+2 -2
View File
@@ -63,8 +63,6 @@ namespace renderdocui.Windows.Dialogs
scriptEditor.KeyDown += new KeyEventHandler(scriptEditor_KeyDown);
scriptEditor.TextChanged += new EventHandler(scriptEditor_TextChanged);
newScript.PerformClick();
scriptEditor.Scrolling.HorizontalWidth = 1;
const uint SCI_SETSCROLLWIDTHTRACKING = 2516;
@@ -78,6 +76,8 @@ namespace renderdocui.Windows.Dialogs
mode_Changed(shellMode, null);
newScript.PerformClick();
clearCmd_Click(null, null);
EnableButtons(true);