From f2362fb56a2099d8d6d630d76234165c4e4a13a0 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Mon, 27 Sep 2021 12:39:38 +0800 Subject: Suppress display as in TypeView --- ui/typeview.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/typeview.h b/ui/typeview.h index ca547090..7a90fd31 100644 --- a/ui/typeview.h +++ b/ui/typeview.h @@ -241,6 +241,8 @@ public: void focusAtTopOfView(); + virtual bool canDisplayAs(const UIActionContext& context, const BNIntegerDisplayType) { return false; } + protected: virtual void resizeEvent(QResizeEvent* event) override; virtual void paintEvent(QPaintEvent* event) override; -- cgit v1.3.1