Skip to content

Commit

Permalink
Pull in PR #95
Browse files Browse the repository at this point in the history
Merge branch 'stop-animation-on-load' of github.com:qbnu/jpegview into qbnu-stop-animation-on-load
  • Loading branch information
sylikc committed Dec 17, 2022
2 parents e82da58 + fed4f43 commit c285670
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/JPEGView/MainDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2007,6 +2007,8 @@ bool CMainDlg::OpenFileWithDialog(bool bFullScreen, bool bAfterStartup) {
}

void CMainDlg::OpenFile(LPCTSTR sFileName, bool bAfterStartup) {
StopMovieMode();
StopAnimation();
// recreate file list based on image opened
Helpers::ESorting eOldSorting = m_pFileList->GetSorting();
bool oOldUpcounting = m_pFileList->IsSortedUpcounting();
Expand Down

0 comments on commit c285670

Please sign in to comment.