1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-01 10:02:36 +03:00

GH-405 Reset is dirty to false when opening a new main window

This commit is contained in:
Tae Won Ha 2017-04-07 08:27:05 +02:00
parent 380c3ac61f
commit 40cfa89291
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -53,6 +53,7 @@ class AppDelegateReducer: Reducer {
var mainWindow = state.mainWindowTemplate
mainWindow.uuid = UUID().uuidString
mainWindow.root = state.root
mainWindow.isDirty = false
mainWindow.urlsToOpen = urls.toDict { url in MainWindow.OpenMode.default }