QmlDesigner: Cleanup design document

Change-Id: Iba5a1ba44ec8dc9619eb8fcc93f8498c1d1f2f7f
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Marco Bubke
2013-02-07 13:25:58 +01:00
committed by Thomas Hartmann
parent 4402d7dab0
commit b3c63795bf
3 changed files with 32 additions and 40 deletions

View File

@@ -318,7 +318,7 @@ void ShortCutManager::redoAvailable(bool isAvailable)
void ShortCutManager::goIntoComponent()
{
if (currentDesignDocument())
currentDesignDocument()->goIntoComponent();
currentDesignDocument()->goIntoSelectedComponent();
}
} // namespace QmlDesigner