aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythoneditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/python/pythoneditor.cpp')
-rw-r--r--src/plugins/python/pythoneditor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/python/pythoneditor.cpp b/src/plugins/python/pythoneditor.cpp
index 9b98493c83f..f0e8acab46e 100644
--- a/src/plugins/python/pythoneditor.cpp
+++ b/src/plugins/python/pythoneditor.cpp
@@ -87,6 +87,10 @@ static QWidget *createEditorWidget()
replButton->setProperty("noArrow", true);
replButton->setText(QCoreApplication::translate("Python", "REPL"));
replButton->setPopupMode(QToolButton::InstantPopup);
+ replButton->setToolTip(QCoreApplication::translate(
+ "Python",
+ "Open interactive Python. Either importing nothing, importing the current file, or "
+ "importing everything (*) from the current file."));
auto menu = new QMenu(replButton);
replButton->setMenu(menu);
menu->addAction(Core::ActionManager::command(Constants::PYTHON_OPEN_REPL)->action());