• R/O
  • HTTP
  • SSH
  • HTTPS

FooEditor: Commit


Commit MetaInfo

Revision024e806df771c3dc6cd401aa160fa5519e6ba57a (tree)
Time2019-03-10 00:46:34
Authortest <test@yaho...>
Commitertest

Log Message

ドキュメント保存時に自動保存を動かすとクラッシュすることがある

Change Summary

Incremental Difference

--- a/UWP/FooEditor.UWP/ViewModels/MainPageViewModel.cs
+++ b/UWP/FooEditor.UWP/ViewModels/MainPageViewModel.cs
@@ -308,7 +308,9 @@ namespace FooEditor.UWP.ViewModels
308308 if (file != null)
309309 {
310310 FileModel fileModel = new FileModel(file);
311+ this.timer.Stop();
311312 await this._doc_list.Current.DocumentModel.SaveFile(fileModel,enc);
313+ this.timer.Start();
312314 this._doc_list.Current.Title = file.Name;
313315 if(enc != null)
314316 this._doc_list.Current.Encode = enc;
Show on old repository browser