mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-11 06:41:32 +00:00
Fill out default script editor contents after initialising python
This commit is contained in:
1 parent
8b9dcbe519
commit
bda6cf0870
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user