Mercurial > hg > svapp
changeset 88:9c904ede116c
* Fix #1849722 annotation import focus
author | Chris Cannam |
---|---|
date | Wed, 06 Feb 2008 16:42:21 +0000 |
parents | 1b217963e53a |
children | 3b616971bdc6 |
files | framework/MainWindowBase.cpp |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Wed Feb 06 14:15:09 2008 +0000 +++ b/framework/MainWindowBase.cpp Wed Feb 06 16:42:21 2008 +0000 @@ -1139,6 +1139,8 @@ if (newLayer) { m_document->addLayerToView(pane, newLayer); + m_paneStack->setCurrentLayer(pane, newLayer); + m_recentFiles.addFile(source.getLocation()); if (!source.isRemote()) { @@ -1146,7 +1148,7 @@ (FileFinder::LayerFile, path); // for file dialog } - + return FileOpenSucceeded; } }