Skip to content

Commit

Permalink
Editor: mark room as modified when background saved externally
Browse files Browse the repository at this point in the history
Fixes #2216
  • Loading branch information
AlanDrake committed Nov 12, 2023
1 parent 803be30 commit 8da3709
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Editor/AGS.Editor/Components/RoomsComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1977,6 +1977,7 @@ private void RefreshBackground(int i)
_backgroundCache[i]?.Dispose();
_backgroundCache[i] = new RoomImage(LoadBackground(i), false);
((RoomSettingsEditor)_roomSettings.Control).InvalidateDrawingBuffer();
_loadedRoom.Modified = true;
}

/// <summary>
Expand Down

0 comments on commit 8da3709

Please sign in to comment.