mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Update threshold for migration panel
This commit is contained in:
parent
f69b6cc504
commit
f2797904d8
@ -173,7 +173,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
|
||||
// show notification panel for line ending migration on CotEditor 4.2.0
|
||||
if let lastVersion = UserDefaults.standard[.lastVersion].flatMap(Int.init),
|
||||
lastVersion < 491 // earlier than CotEditor 4.2.0
|
||||
lastVersion < 494 // earlier than CotEditor 4.2.0
|
||||
{
|
||||
var migrationOptions: LineEndingMigrationOptions = []
|
||||
if ReplacementManager.shared.needsLineEndingMigration() {
|
||||
|
Loading…
Reference in New Issue
Block a user