Pārlūkot izejas kodu

[Fix] Focusing the window taking long

Leonardo Jeanteur 3 gadi atpakaļ
vecāks
revīzija
ad1f63fb05
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      hide/Ide.hx

+ 1 - 1
hide/Ide.hx

@@ -172,7 +172,7 @@ class Ide {
 			// handle cancel on type=file
 			haxe.Timer.delay(function() new Element(body).find("input[type=file]").change().remove(), 200);
 
-			if(fileExists(databaseFile) && getFile(databaseFile).toString() != lastDBContent) {
+			if(fileExists(databaseFile) && getFileText(databaseFile) != lastDBContent) {
 				if(js.Browser.window.confirm(databaseFile + " has changed outside of Hide. Do you want to reload?")) {
 					loadDatabase(true);
 					hide.comp.cdb.Editor.refreshAll(true);