diff --git a/src/plugins/PIM/PIM_handler.cpp b/src/plugins/PIM/PIM_handler.cpp index e59006911..6579a91a1 100644 --- a/src/plugins/PIM/PIM_handler.cpp +++ b/src/plugins/PIM/PIM_handler.cpp @@ -134,8 +134,9 @@ bool PIM_Handler::keyPress(WebView* view, QKeyEvent* event) } bool isEnter = event->key() == Qt::Key_Return || event->key() == Qt::Key_Enter; + bool isControlModifier = event->modifiers() & Qt::ControlModifier; - if (!isEnter || event->modifiers() != Qt::ControlModifier) { + if (!isEnter || !isControlModifier) { return false; } diff --git a/src/plugins/PIM/PIM_plugin.cpp b/src/plugins/PIM/PIM_plugin.cpp index 770f33158..c1a303cc3 100644 --- a/src/plugins/PIM/PIM_plugin.cpp +++ b/src/plugins/PIM/PIM_plugin.cpp @@ -38,7 +38,7 @@ PluginSpec PIM_Plugin::pluginSpec() spec.name = "PIM"; spec.info = "Personal Information Manager"; spec.description = "Adds ability for Qupzilla to store some personal data"; - spec.version = "0.0.1"; + spec.version = "0.1.1"; spec.author = QString::fromUtf8("Mladen Pejaković "); spec.icon = QPixmap(":/PIM/data/PIM.png"); spec.hasSettings = true;