Skip to content

Commit

Permalink
don't keep adding 'cancelling' to the progress dialog - once is enough.
Browse files Browse the repository at this point in the history
fixes #13643
  • Loading branch information
Jonathan Marshall committed Dec 2, 2012
1 parent d073e25 commit 2eb6637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/dialogs/GUIDialogProgress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ bool CGUIDialogProgress::OnMessage(CGUIMessage& message)
case GUI_MSG_CLICKED:
{
int iControl = message.GetSenderId();
if (iControl == CONTROL_CANCEL_BUTTON && m_bCanCancel)
if (iControl == CONTROL_CANCEL_BUTTON && m_bCanCancel && !m_bCanceled)
{
string strHeading = m_strHeading;
strHeading.append(" : ");
Expand Down

0 comments on commit 2eb6637

Please sign in to comment.