Skip to content

Commit

Permalink
Fix double-clicking simple items
Browse files Browse the repository at this point in the history
Disable text interaction in simple items so they can be activated.

Fixes #762
  • Loading branch information
hluk committed Aug 17, 2017
1 parent 4636be0 commit 10c3504
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/item/itemfactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ class DummyItem : public QLabel, public ItemWidget {
setMargin(0);
setWordWrap(true);
setTextFormat(Qt::PlainText);
setTextInteractionFlags(Qt::TextSelectableByMouse);
setFocusPolicy(Qt::NoFocus);
setContextMenuPolicy(Qt::NoContextMenu);

Expand Down

0 comments on commit 10c3504

Please sign in to comment.