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:
parent
380c3ac61f
commit
40cfa89291
@ -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 }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user