mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-25 06:43:24 +03:00
Adapt version check
This commit is contained in:
parent
d408ef1d63
commit
90e6cf13b4
@ -28,7 +28,9 @@ class ShortcutsPref: PrefPane,
|
||||
)
|
||||
|
||||
super.init(frame: .zero)
|
||||
if let version = self.shortcutsUserDefaults?.integer(forKey: "version"), version > 0 {
|
||||
|
||||
if let version = self.shortcutsUserDefaults?.integer(forKey: "version"),
|
||||
version > defaultsVersion {
|
||||
let alert = NSAlert()
|
||||
alert.alertStyle = .warning
|
||||
alert.messageText = "Incompatible Defaults for Shortcuts"
|
||||
|
Loading…
Reference in New Issue
Block a user