mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-12 04:09:59 +01:00
Improve how element editor is opened to edit an element in a diagram.
Before this commit : ElementPropertiesWidget emit a signal of Diagram to edit an element, and the signal goes up from Diagram -> DiagramView -> ProjectView -> QetDiagramEditor and QetDiagramEditor call a static function. Now : ElementPropertiesWidget call the static function itself and that all. All unnecessary signals are removed.
This commit is contained in:
@@ -135,7 +135,6 @@ class ProjectView : public QWidget
|
||||
void errorEncountered(const QString &);
|
||||
// relayed signals
|
||||
void findElementRequired(const ElementsLocation &);
|
||||
void editElementRequired(const ElementsLocation &);
|
||||
|
||||
private:
|
||||
void initActions();
|
||||
|
||||
Reference in New Issue
Block a user