L'application active desormais l'editeur d'element adequat au lieu de permettre l'ouverture d'un meme element plusieurs fois en simultane.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@878 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2010-03-04 21:04:23 +00:00
parent df079a62bf
commit 176256adf6
8 changed files with 135 additions and 20 deletions

View File

@@ -1757,12 +1757,9 @@ void QETDiagramEditor::findElementInPanel(const ElementsLocation &location) {
@param location Emplacement de l'element a editer
*/
void QETDiagramEditor::editElementInEditor(const ElementsLocation &location) {
QETElementEditor *editor = new QETElementEditor();
editor -> fromLocation(location);
editor -> show();
QETApp::instance() -> openElementLocations(QList<ElementsLocation>() << location);
}
/**
@return Les proprietes par defaut pour le cartouche d'un schema
*/