mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
disable context menu on QMainWindow to prevent hiding the toolbar
Signed-off-by: Le Tan <tamlokveer@gmail.com>
This commit is contained in:
parent
edca922f5e
commit
67c1f69a5b
@ -27,6 +27,9 @@ VMainWindow::VMainWindow(QWidget *parent)
|
||||
initMenuBar();
|
||||
initDockWindows();
|
||||
initAvatar();
|
||||
|
||||
setContextMenuPolicy(Qt::NoContextMenu);
|
||||
|
||||
restoreStateAndGeometry();
|
||||
|
||||
notebookSelector->update();
|
||||
|
Loading…
x
Reference in New Issue
Block a user