diff --git a/base/applications/mspaint/dib.cpp b/base/applications/mspaint/dib.cpp index dbe9003d667..ce74c093bd8 100644 --- a/base/applications/mspaint/dib.cpp +++ b/base/applications/mspaint/dib.cpp @@ -69,6 +69,8 @@ SaveDIBToFile(HBITMAP hBitmap, LPTSTR FileName, HDC hDC, LPSYSTEMTIME time, int // TODO: update hRes and vRes CloseHandle(hFile); + + registrySettings.SetMostRecentFile(FileName); } void ShowFileLoadError(LPCTSTR name)