mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-19 15:27:20 +09:00
Fix save and quit prompt
This commit is contained in:
@@ -212,6 +212,8 @@ func (v *View) CanClose() bool {
|
||||
if choice {
|
||||
v.Save(true)
|
||||
}
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user