mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #74: Highlighting text opens the sidebar every time
This commit is contained in:
@ -464,7 +464,7 @@ void PDFViewerMainWindow::setDocument(const pdf::PDFModifiedDocument& document)
|
||||
{
|
||||
m_sidebarDockWidget->hide();
|
||||
}
|
||||
else
|
||||
else if (document.hasReset() && !document.hasPreserveUndoRedo())
|
||||
{
|
||||
m_sidebarDockWidget->show();
|
||||
}
|
||||
|
Reference in New Issue
Block a user