Removed testing code

This commit is contained in:
Ralph Wessel
2024-09-26 13:28:14 +01:00
parent 5abc831473
commit 4c8a2237bf
@@ -136,16 +136,6 @@ bool ConnectorPalette::start() {
return: True if the event should be closed
--------------------------------------------------------------------*/
bool ConnectorPalette::receive(const active::event::Event& event) {
if (auto project = connector()->getActiveProject().lock(); project) {
auto elementDatabase = project->getElementDatabase();
auto selected = elementDatabase->getSelection();
for (const auto& link : selected) {
auto element = elementDatabase->getElement(link);
auto x = 1;
}
}
if (BrowserPalette::HasInstance() && BrowserPalette::GetInstance().IsVisible()) {
BrowserPalette::GetInstance().Hide ();
} else {