Skip to content

Commit

Permalink
fix drag&drop not showing a window when tabs disabled (#3934)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Kowalczyk committed Dec 7, 2023
1 parent 90230b8 commit ad3d58e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SumatraPDF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1853,6 +1853,8 @@ static MainWindow* MaybeCreateWindowForFileLoad(LoadArgs* args) {
}
args->win = win;
args->isNewWindow = true;
// TODO: do it in CreateMainWindow()? Do it later when isNewWindow?
ShowWindow(win->hwndFrame, SW_SHOW);
if (currWin) {
RememberFavTreeExpansionState(currWin);
win->expandedFavorites = currWin->expandedFavorites;
Expand Down

0 comments on commit ad3d58e

Please sign in to comment.