diff options
author | Petter Rodhelind <petter.rodhelind@gmail.com> | 2021-03-03 16:24:03 +0100 |
---|---|---|
committer | Petter Rodhelind <petter.rodhelind@gmail.com> | 2021-03-03 16:24:03 +0100 |
commit | eddb1c60371d2b2e10bd1952d68a6dec00545e39 (patch) | |
tree | 68810f2a87ef4b7da4a892d0cd1796d5e2c57e46 /editor/editor.go | |
parent | 38d7be1d7ea7cf9025f6facc1404e3e65c56a9cc (diff) | |
download | poe-eddb1c60371d2b2e10bd1952d68a6dec00545e39.tar.gz poe-eddb1c60371d2b2e10bd1952d68a6dec00545e39.tar.bz2 poe-eddb1c60371d2b2e10bd1952d68a6dec00545e39.zip |
Manage initial loading of buffers in UI.
Diffstat (limited to 'editor/editor.go')
-rw-r--r-- | editor/editor.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/editor/editor.go b/editor/editor.go index 87b3eff..adf2f95 100644 --- a/editor/editor.go +++ b/editor/editor.go @@ -91,10 +91,6 @@ func (e *ed) LoadBuffers(fns []string) { buf.NewFile(fn) buf.ReadFile() } - - if len(fns) == 0 { - e.NewBuffer() - } } func (e *ed) genBufferID() int64 { |