Skip to content

Commit 825f065

Browse files
committed
Rename indent actions
1 parent 3e928d9 commit 825f065

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/NotepadNext/dialogs/MainWindow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ MainWindow::MainWindow(NotepadNextApplication *app) :
300300
copyAsFormat(&rtf, "Rich Text Format");
301301
});
302302

303-
connect(ui->actionIncrease_Indent, &QAction::triggered, this, [=]() { currentEditor()->tab(); });
304-
connect(ui->actionDecrease_Indent, &QAction::triggered, this, [=]() { currentEditor()->backTab(); });
303+
connect(ui->actionIncreaseIndent, &QAction::triggered, this, [=]() { currentEditor()->tab(); });
304+
connect(ui->actionDecreaseIndent, &QAction::triggered, this, [=]() { currentEditor()->backTab(); });
305305

306306
addAction(ui->actionToggleOverType);
307307
connect(ui->actionToggleOverType, &QAction::triggered, this, [=]() {

src/NotepadNext/dialogs/MainWindow.ui

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@
108108
<property name="title">
109109
<string>Indent</string>
110110
</property>
111-
<addaction name="actionIncrease_Indent"/>
112-
<addaction name="actionDecrease_Indent"/>
113111
</widget>
114112
<widget class="QMenu" name="menuEOLConversion">
115113
<property name="title">
@@ -575,7 +573,7 @@
575573
<string>Ctrl+A</string>
576574
</property>
577575
</action>
578-
<action name="actionIncrease_Indent">
576+
<action name="actionIncreaseIndent">
579577
<property name="icon">
580578
<iconset resource="../resources.qrc">
581579
<normaloff>:/icons/text_indent.png</normaloff>:/icons/text_indent.png</iconset>
@@ -584,7 +582,7 @@
584582
<string>Increase Indent</string>
585583
</property>
586584
</action>
587-
<action name="actionDecrease_Indent">
585+
<action name="actionDecreaseIndent">
588586
<property name="icon">
589587
<iconset resource="../resources.qrc">
590588
<normaloff>:/icons/text_indent_remove.png</normaloff>:/icons/text_indent_remove.png</iconset>

0 commit comments

Comments
 (0)