forked from qt-creator/qt-creator
tune editor mouse cursor behaviour
the fix makes the mouse cursor visible when the editor loses focus. This fixes an issue with the completion box, where on mac and windows no mouse cursor would be visible (it worked on X11 due to the way X11 does mouse grabbing for popup windows).
This commit is contained in:
@@ -427,7 +427,7 @@ bool HelpPlugin::initialize(const QStringList &arguments, QString *error)
|
||||
advancedMenu->addAction(cmd, Core::Constants::G_EDIT_FONT);
|
||||
|
||||
a = new QAction(tr("Reset Font Size"), this);
|
||||
cmd = am->registerAction(a, TextEditor::Constants::DECREASE_FONT_SIZE,
|
||||
cmd = am->registerAction(a, TextEditor::Constants::RESET_FONT_SIZE,
|
||||
modecontext);
|
||||
cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+0")));
|
||||
connect(a, SIGNAL(triggered()), m_centralWidget, SLOT(resetZoom()));
|
||||
|
||||
Reference in New Issue
Block a user