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
1 changed files with 5 additions and 1 deletions

View File

@ -57,7 +57,11 @@ public:
&MemoryViewWidget::OnContextMenu); &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 void keyPressEvent(QKeyEvent* event) override
{ {