Commit b563fc6d authored by Jesper K. Pedersen's avatar Jesper K. Pedersen Committed by David Schulz
Browse files

edit note should also be disabled when a note is not editable

Change-Id: I35622ee65ddb7476f43af0ef3aeb0eca6ba0ff4b
Reviewed-by: default avatarVasiliy Sorokin <>
Reviewed-by: default avatarDavid Schulz <>
parent 2ddb1f98
...@@ -246,6 +246,7 @@ void BookmarkView::contextMenuEvent(QContextMenuEvent *event) ...@@ -246,6 +246,7 @@ void BookmarkView::contextMenuEvent(QContextMenuEvent *event)
moveUp->setEnabled(false); moveUp->setEnabled(false);
moveDown->setEnabled(false); moveDown->setEnabled(false);
remove->setEnabled(false); remove->setEnabled(false);
} }
if (model()->rowCount() == 0) if (model()->rowCount() == 0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment