Skip to content

Commit

Permalink
fix a little zombie window issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaller committed Feb 26, 2024
1 parent 6723813 commit eee5754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QtSLiM/QtSLiMWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,7 @@ void QtSLiMWindow::appStateChanged(Qt::ApplicationState state)
{
// the motivation for listening to these state changes is to check for externally-edited
// documents; that can only happen for files that have been saved to disk
if (!isUntitled && !isRecipe && !isTransient && currentFile.length() && lastSavedDate.isValid())
if (!isUntitled && !isRecipe && !isTransient && !isZombieWindow_ && currentFile.length() && lastSavedDate.isValid())
{
if (QFile::exists(currentFile))
{
Expand Down

0 comments on commit eee5754

Please sign in to comment.