File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ void GroupsEditor::_confirm_add() {
515515	undo_redo->add_undo_method (SceneTreeDock::get_singleton ()->get_tree_editor (), " update_tree"  );
516516
517517	undo_redo->commit_action ();
518- 	tree->grab_focus ();
518+ 	tree->grab_focus (true );
519519}
520520
521521void  GroupsEditor::_confirm_rename () {
@@ -566,7 +566,7 @@ void GroupsEditor::_confirm_rename() {
566566
567567	undo_redo->commit_action ();
568568
569- 	tree->grab_focus ();
569+ 	tree->grab_focus (true );
570570}
571571
572572void  GroupsEditor::_confirm_delete () {
@@ -606,7 +606,7 @@ void GroupsEditor::_confirm_delete() {
606606	undo_redo->add_undo_method (this , " _update_tree"  );
607607
608608	undo_redo->commit_action ();
609- 	tree->grab_focus ();
609+ 	tree->grab_focus (true );
610610}
611611
612612void  GroupsEditor::_show_add_group_dialog () {
Original file line number Diff line number Diff line change @@ -552,7 +552,7 @@ bool Viewport::_can_hide_focus_state() {
552552}
553553
554554void  Viewport::_on_settings_changed () {
555- 	if  (!gui.hide_focus  &&  _can_hide_focus_state ()) {
555+ 	if  (!gui.hide_focus  ||  _can_hide_focus_state ()) {
556556		return ;
557557	}
558558
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments