Skip to content

Commit c061577

Browse files
gui api not working?
1 parent 6c6cd8f commit c061577

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

plugins/helix/src/helix.cc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,11 @@ namespace hal
187187
return;
188188
}
189189

190-
if( command == "GateActionZoom" && instances.size() == 1 )
190+
if( command == "GateActionZoom" )
191191
{
192-
handle_gate_action_zoom( *instances.begin() );
193-
gui_api.selectGate( *instances.begin(), true, false );
192+
gui_api.selectGate( instances, true, true );
194193
}
195-
else if( command == "GateActionIsolate" || command == "GateActionZoom" && instances.size() > 1 )
194+
else if( command == "GateActionIsolate" )
196195
{
197196
handle_gate_action_isolate( instances );
198197
// Why does it not clear the current selection?

0 commit comments

Comments
 (0)