summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/qt/byte_view_tab.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/byte_view_tab.cpp b/ui/qt/byte_view_tab.cpp
index c7ba1a9f7a..72968613d2 100644
--- a/ui/qt/byte_view_tab.cpp
+++ b/ui/qt/byte_view_tab.cpp
@@ -49,9 +49,11 @@ void ByteViewTab::addTab(const char *name, tvbuff_t *tvb, proto_tree *tree, QTre
void ByteViewTab::clear()
{
+ hide();
while (currentWidget()) {
delete currentWidget();
}
+ show();
}
void ByteViewTab::tabInserted(int index) {