Merge pull request #10650 from AdmiralCurtiss/memory-widget-resize-fix

Qt/MemoryViewWidget: Fix resizing.
This commit is contained in:
Tilka 2022-05-10 21:25:33 +01:00 committed by GitHub
commit c41467a8eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,11 @@ public:
&MemoryViewWidget::OnContextMenu);
}
void resizeEvent(QResizeEvent*) override { m_view->Update(); }
void resizeEvent(QResizeEvent* event) override
{
QTableWidget::resizeEvent(event);
m_view->Update();
}
void keyPressEvent(QKeyEvent* event) override
{