Skip to content

Commit

Permalink
fix patch chunk hand misapplication in PreviewWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhendricks committed Jul 14, 2023
1 parent 7eca625 commit 9ef00ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MainUI/PreviewWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,6 @@ void PreviewWindow::CycleCustomCSS()
// you must delay before trying to update Preview to a specific location
bool PreviewWindow::UpdatePage(QString filename_url, QString text, QList<ElementIndex> location)
{
// ignore spurious page DocumentLoaded signals from ViewPreview
if (!m_updatingPage) return;

DBG qDebug() << "Entered PV UpdatePage with filename: " << filename_url;

if (!m_Preview->isVisible()) {
Expand Down Expand Up @@ -399,6 +396,9 @@ bool PreviewWindow::UpdatePage(QString filename_url, QString text, QList<Element

void PreviewWindow::UpdatePageDone()
{
// ignore spurious page DocumentLoaded signals from ViewPreview
if (!m_updatingPage) return;

if (!m_Preview->WasLoadOkay()) qDebug() << "PV loadFinished with okay set to false!";

DBG qDebug() << "PreviewWindow UpdatePage load is Finished";
Expand Down

0 comments on commit 9ef00ea

Please sign in to comment.