]> git.lizzy.rs Git - micro.git/blobdiff - cmd/micro/actions.go
Fix ViewType refactor
[micro.git] / cmd / micro / actions.go
index 566cd797f5f996f39fbe4dcf3c1b3fa774dac8d5..35c10738cf99fd5a6e7ad58c26ad3a9d0418f9c8 100644 (file)
@@ -941,7 +941,7 @@ func (v *View) Save(usePlugin bool) bool {
                        return false
                }
 
-               if v.Type.scratch == true {
+               if v.Type.Scratch == true {
                        // We can't save any view type with scratch set. eg help and log text
                        return false
                }