Quick fix for system info text always being scrolled out of view when loaded for the first time
Added an API method to Text datablocks for moving the cursor to a specific line in the file. This makes it possible to reset the cursor position at the end of the sysinfo operator.
This commit is contained in:
@@ -163,4 +163,7 @@ def write_sysinfo(op):
|
||||
for l in glext:
|
||||
output.write("\t\t%r\n" % (l))
|
||||
|
||||
# Back to first line, so everything is still in sight
|
||||
output.jump(1)
|
||||
|
||||
op.report({'INFO'}, "System information generated in 'system-info.txt'")
|
||||
|
Reference in New Issue
Block a user