Change of tool button
[mdictionary] / trunk / src / base / gui / WordListWidget.cpp
index f44af27..dcca883 100644 (file)
@@ -62,7 +62,7 @@ void WordListWidget::addWord(QString word, int row) {
 
     QStandardItem* itemCheckBox = new QStandardItem();
     //creating checkbox item
-    itemCheckBox->setFlags(itemCheckBox->flags() ^ Qt::ItemIsEditable |
+    itemCheckBox->setFlags((itemCheckBox->flags() ^ Qt::ItemIsEditable) |
                            Qt::ItemIsUserCheckable);
 
     /*checking if word is already in bookmarks, information about that is