diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotDiff/ChangeListPane/ChangeListPane.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotDiff/ChangeListPane/ChangeListPane.cpp index b907ba76..627f8ea7 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotDiff/ChangeListPane/ChangeListPane.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotDiff/ChangeListPane/ChangeListPane.cpp @@ -116,7 +116,7 @@ namespace Widgets void ChangeListPane::refreshChangeListViewSize() { this->changeListView->setFixedWidth( this->container->width() - ( - this->changeListView->verticalScrollBar()->isVisible() ? this->parentPanel->getHandleSize() : 0 + this->changeListView->verticalScrollBar()->maximum() > 0 ? this->parentPanel->getHandleSize() : 0 ) ); }