lots of minor changes/fixes/additions

This commit is contained in:
codeimp 2008-02-24 21:52:18 +00:00
parent d904fb415c
commit b3c83f95ce
26 changed files with 325 additions and 168 deletions

View file

@ -314,6 +314,8 @@ namespace CodeImp.DoomBuilder.Interface
// This updates the status icon
internal void UpdateStatusIcon()
{
if(IsDisposed) return;
// From another thread?
if(statusbar.InvokeRequired)
{
@ -1094,8 +1096,14 @@ namespace CodeImp.DoomBuilder.Interface
// Update shortcut keys in menus
ApplyShortcutKeys();
// Apply new settings if a map is open
if(General.Map != null) General.Map.Map.UpdateConfiguration();
// Map opened?
if(General.Map != null)
{
// Setup and reload stuff
General.Map.Graphics.SetupSettings();
General.Map.Map.UpdateConfiguration();
General.Map.ReloadResources();
}
// Redraw display
RedrawDisplay();