mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Fill out default script editor contents after initialising python
This commit is contained in:
@@ -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