]> sigrok.org Git - pulseview.git/commit
Disable context menus that could lead to users removing UI parts
authorSoeren Apel <redacted>
Thu, 25 May 2017 12:30:46 +0000 (14:30 +0200)
committerSoeren Apel <redacted>
Fri, 26 May 2017 17:36:04 +0000 (19:36 +0200)
commitd375140b2e760226ff5f0d8aafc0386c0010644b
tree7918b0b21cc90ce32553c442c380b74611531418
parentf7449c50675c7e9cc152bb367b3850f3c6310228
Disable context menus that could lead to users removing UI parts

If a user removes the main toolbar then there's no way to get it
back. We don't want that.

If a user removes a dock window's contents he can get it back
by using the same context menu but it's a useless feature for us
and potentially very confusing, so we disable this, too.
pv/mainwindow.cpp
pv/toolbars/mainbar.cpp