Commit cf6d8d63 authored by con's avatar con
Browse files

Make it possible to localize text from goto line shortcut.

Task-number: 258302
parent 62931997
......@@ -360,8 +360,9 @@ void TextEditorActionHandler::gotoAction()
{
QuickOpen::QuickOpenManager *quickopen = QuickOpen::QuickOpenManager::instance();
QTC_ASSERT(quickopen, return);
QString shortcut = TextEditorPlugin::instance()->lineNumberFilter()->shortcutString();
quickopen->show(shortcut + tr(" <line number>"), 2, 13);
const QString shortcut = TextEditorPlugin::instance()->lineNumberFilter()->shortcutString();
const QString text = tr(" <line number>");
quickopen->show(shortcut + text, 2, text.length()-1);
}
void TextEditorActionHandler::printAction()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment