Skip to content

Commit

Permalink
MainWindow::IsDocLoaded: only report if not in plugin mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kjk committed Oct 18, 2023
1 parent de2ca96 commit 75f540a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ bool MainWindow::IsDocLoaded() const {
bool isTabLoaded = (CurrentTab() && CurrentTab()->ctrl != nullptr);
if (isLoaded != isTabLoaded) {
logfa("MainWindow::IsDocLoaded(): isLoaded: %d, isTabLoaded: %d\n", (int)isLoaded, (int)isTabLoaded);
ReportIf(true);
ReportIf(!gPluginMode);
}
return isLoaded;
}
Expand Down

0 comments on commit 75f540a

Please sign in to comment.