Change command name from "monospace-font" to "editor-font".

This commit is contained in:
Martín Lucas Golini
2026-08-14 16:26:52 -03:00
parent a4efdba1b0
commit c1034fa87e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2239,7 +2239,7 @@ std::vector<std::string> App::getUnlockedCommands() {
"ui-font-size",
"ui-panel-font-size",
"sans-serif-font",
"monospace-font",
"editor-font",
"terminal-font",
"fallback-font",
"tree-view-configure-ignore-files",
+1 -1
View File
@@ -364,7 +364,7 @@ class App : public UICodeEditorSplitter::Client, public PluginContextProvider {
t.setCommand( "ui-panel-font-size", [this] { mSettingsActions->setUIPanelFontSize(); } );
t.setCommand( "sans-serif-font",
[this] { openFontDialog( mConfig.ui.sansSerifFont, false ); } );
t.setCommand( "monospace-font",
t.setCommand( "editor-font",
[this] { openFontDialog( mConfig.ui.monospaceFont, true ); } );
t.setCommand( "terminal-font",
[this] { openFontDialog( mConfig.ui.terminalFont, true, true ); } );
+1 -1
View File
@@ -3328,7 +3328,7 @@ UIMenu* SettingsMenu::createFontsMenu() {
mFontsMenu
->add( i18n( "editor_font_and_size_ellipsis", "Editor Font & Size..." ),
findIcon( "font-size" ) )
->setId( "monospace-font" );
->setId( "editor-font" );
mFontsMenu
->add( i18n( "terminal_font_and_size_ellipsis", "Terminal Font & Size..." ),
findIcon( "font-size" ) )