Skip to content

Commit 2d15a81

Browse files
committed
Rename action for Sort by Channel
1 parent 75792ae commit 2d15a81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/clientdlg.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ CClientDlg::CClientDlg ( CClient* pNCliP,
333333
QAction* ByCityAction =
334334
pViewMenu->addAction ( tr ( "Sort Users by &City" ), this, SLOT ( OnSortChannelsByCity() ), QKeySequence ( Qt::CTRL + Qt::Key_T ) );
335335

336-
QAction* ByServerChannelAction =
336+
QAction* ByChannelAction =
337337
pViewMenu->addAction ( tr ( "Sort Users by Chann&el" ), this, SLOT ( OnSortChannelsByChannel() ), QKeySequence ( Qt::CTRL + Qt::Key_E ) );
338338

339339
OwnFaderFirstAction->setCheckable ( true );
@@ -352,8 +352,8 @@ CClientDlg::CClientDlg ( CClient* pNCliP,
352352
SortActionGroup->addAction ( ByGroupAction );
353353
ByCityAction->setCheckable ( true );
354354
SortActionGroup->addAction ( ByCityAction );
355-
ByServerChannelAction->setCheckable ( true );
356-
SortActionGroup->addAction ( ByServerChannelAction );
355+
ByChannelAction->setCheckable ( true );
356+
SortActionGroup->addAction ( ByChannelAction );
357357

358358
// initialize sort type setting (i.e., recover stored setting)
359359
switch ( pSettings->eChannelSortType )
@@ -371,7 +371,7 @@ CClientDlg::CClientDlg ( CClient* pNCliP,
371371
ByCityAction->setChecked ( true );
372372
break;
373373
case ST_BY_SERVER_CHANNEL:
374-
ByServerChannelAction->setChecked ( true );
374+
ByChannelAction->setChecked ( true );
375375
break;
376376
default: // ST_NO_SORT
377377
NoSortAction->setChecked ( true );

0 commit comments

Comments
 (0)