Display icon while running the Editor under mono, cant test it on windows

This commit is contained in:
Iran
2010-09-19 19:31:10 +02:00
parent 3dc11eaa05
commit 46486073ab

View File

@@ -36,6 +36,9 @@ namespace OpenRA.Editor
Rules.LoadRules(Game.modData.Manifest, new Map());
surface1.AfterChange += MakeDirty;
string path = Directory.GetCurrentDirectory();
Icon = new Icon(path + Path.DirectorySeparatorChar + "OpenRA.Editor" + Path.DirectorySeparatorChar + "OpenRA.Editor.Icon.ico");
}
void MakeDirty() { dirty = true; }
@@ -420,4 +423,4 @@ namespace OpenRA.Editor
catch { }
}
}
}
}