smpackage: clear selection after export

This commit is contained in:
Chris Danford
2002-09-30 07:17:08 +00:00
parent 21389d1eaf
commit 9a1999bbc9
2 changed files with 6 additions and 3 deletions
+4
View File
@@ -325,6 +325,8 @@ try_another_name:
if( ExportPackage( sPackageName, asPathsToExport ) ) if( ExportPackage( sPackageName, asPathsToExport ) )
AfxMessageBox( ssprintf("Successfully exported package '%s' to your Desktop.",sPackageName) ); AfxMessageBox( ssprintf("Successfully exported package '%s' to your Desktop.",sPackageName) );
m_listBox.SetSel( -1, FALSE );
} }
void CSmpackageDlg::OnButtonExportAsIndividual() void CSmpackageDlg::OnButtonExportAsIndividual()
@@ -364,6 +366,8 @@ void CSmpackageDlg::OnButtonExportAsIndividual()
if( asFailedPackages.GetSize() > 0 ) if( asFailedPackages.GetSize() > 0 )
sMessage += ssprintf(" The packages %s failed to export.", join(", ",asFailedPackages) ); sMessage += ssprintf(" The packages %s failed to export.", join(", ",asFailedPackages) );
AfxMessageBox( sMessage ); AfxMessageBox( sMessage );
m_listBox.SetSel( -1, FALSE );
} }
+2 -3
View File
@@ -8,8 +8,8 @@
; NOTE: this .NSI script is designed for NSIS v1.8+ ; NOTE: this .NSI script is designed for NSIS v1.8+
Name "StepMania" Name "StepMania"
OutFile "stepmania300beta6rc.exe" OutFile "stepmania300beta7rc.exe"
!define PRODUCT_NAME "StepMania 3.0 beta 6 Release Candidate" !define PRODUCT_NAME "StepMania 3.0 beta 7 release candidate"
; Some default compiler settings (uncomment and change at will): ; Some default compiler settings (uncomment and change at will):
@@ -100,7 +100,6 @@ File "Announcers\instructions.txt"
CreateDirectory "$INSTDIR\BGAnimations" CreateDirectory "$INSTDIR\BGAnimations"
SetOutPath "$INSTDIR\BGAnimations" SetOutPath "$INSTDIR\BGAnimations"
File "BGAnimations\instructions.txt" File "BGAnimations\instructions.txt"
File /r "BGAnimations\danger"
CreateDirectory "$INSTDIR\Cache" CreateDirectory "$INSTDIR\Cache"
SetOutPath "$INSTDIR\Cache" SetOutPath "$INSTDIR\Cache"