mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:23:01 +00:00
[RAPPS] Don't display the "Selected" apps count in APPWIZ mode (#6655)
The count makes sense only in normal mode, where we can select many apps for bulk-install. Split the IDS_APPS_COUNT string into it and IDS_APPS_SELECT_COUNT, and append the number of selected apps only when we aren't in APPWIZ mode.
This commit is contained in:
parent
f23394986a
commit
5aecdd0840
28 changed files with 63 additions and 29 deletions
|
@ -608,8 +608,16 @@ CMainWindow::UpdateStatusBarText()
|
|||
if (m_StatusBar)
|
||||
{
|
||||
CStringW szBuffer;
|
||||
szBuffer.Format(IDS_APPS_COUNT, m_ApplicationView->GetItemCount());
|
||||
|
||||
// Append the number of selected apps if not in APPWIZ-mode.
|
||||
if (!m_bAppwizMode)
|
||||
{
|
||||
CStringW szBuffer2;
|
||||
szBuffer2.Format(IDS_APPS_SELECT_COUNT, m_Selected.GetCount());
|
||||
szBuffer += szBuffer2;
|
||||
}
|
||||
|
||||
szBuffer.Format(IDS_APPS_COUNT, m_ApplicationView->GetItemCount(), m_Selected.GetCount());
|
||||
m_StatusBar->SetText(szBuffer);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue