Skip to content

Commit

Permalink
#6107: Reroute keyboard and menus to the new dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Oct 2, 2022
1 parent 5a04e90 commit 3645a7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion install/input.xml
Expand Up @@ -66,7 +66,7 @@
<shortcut command="ShowHidden" key="H" modifiers="SHIFT" />
<shortcut command="HideSelected" key="H" />
<shortcut command="HideDeselected" key="H" modifiers="CONTROL+SHIFT"/>
<shortcut command="ToggleLegacyLayerControlDialog" key="L" modifiers="CONTROL" />
<shortcut command="ToggleLayerControlDialog" key="L" modifiers="CONTROL" />
<shortcut command="ToggleMediaBrowser" key="M" />
<shortcut command="CSGSubtract" key="U" modifiers="SHIFT" />
<shortcut command="CSGMerge" key="U" modifiers="CONTROL" />
Expand Down
2 changes: 1 addition & 1 deletion install/menu.xml
Expand Up @@ -76,7 +76,7 @@
<subMenu name="view" caption="V&amp;iew">
<menuItem name="newxyview" caption="New XY view" command="NewOrthoView" />
<menuItem name="cameraview" caption="Camera View" command="ToggleCamera" />
<menuItem name="layercontrols" caption="Layers" command="ToggleLegacyLayerControlDialog" />
<menuItem name="layercontrols" caption="Layers" command="ToggleLayerControlDialog" />
<menuItem name="consoleView" caption="Console View" command="ToggleConsole" />
<menuItem name="textureBrowser" caption="Texture Browser" command="ViewTextures" />
<menuItem name="mediabrowser" caption="Media Browser" command="ToggleMediaBrowser" />
Expand Down
2 changes: 1 addition & 1 deletion radiantcore/layers/LayerManager.cpp
Expand Up @@ -286,7 +286,7 @@ void LayerManager::onLayerVisibilityChanged()
// Update all nodes and views
updateSceneGraphVisibility();

// Update the LegacyLayerControlDialog
// Update the UI
_layerVisibilityChangedSignal.emit();
}

Expand Down

0 comments on commit 3645a7c

Please sign in to comment.