Qt/MemoryViewWidget: Fix resizing.

This commit is contained in:
Admiral H. Curtiss 2022-05-10 12:35:37 +02:00
parent d82f2d7314
commit 828ce0f3cf
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
1 changed files with 5 additions and 1 deletions

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
{