Commit d80c2276 authored by Eike Ziller's avatar Eike Ziller

Fix opening files with file number from command line.

Broke while fixing the flag handling in editor manager.

Change-Id: Id743de099b3c193dcbf1dc55b4372217c691488a
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 61f01c87
......@@ -112,7 +112,7 @@ bool CorePlugin::delayedInitialize()
void CorePlugin::remoteCommand(const QStringList & /* options */, const QStringList &args)
{
m_mainWindow->openFiles(args, ICore::SwitchMode);
m_mainWindow->openFiles(args, Core::ICore::OpenFilesFlags(ICore::SwitchMode | ICore::CanContainLineNumbers));
m_mainWindow->activateWindow();
}
......
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