[commit] r1730 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Dec 5 13:24:48 CST 2011


Author: ksmyth
Date: Mon Dec  5 13:24:47 2011
New Revision: 1730

Log:
Dont show "New mga/multi-user" then Browse for Directory for File>Open et al

Modified:
   trunk/GME/Gme/MgaOpenDlg.cpp

Modified: trunk/GME/Gme/MgaOpenDlg.cpp
==============================================================================
--- trunk/GME/Gme/MgaOpenDlg.cpp	Mon Dec  5 13:24:37 2011	(r1729)
+++ trunk/GME/Gme/MgaOpenDlg.cpp	Mon Dec  5 13:24:47 2011	(r1730)
@@ -126,9 +126,9 @@
 
 	try
 	{
-		if( (allowXme && (m_radio /*n.b. = */ = 0)) || (DoModal() == IDOK && !pressed_back) )
+		if (openFileDialog || (DoModal() == IDOK && !pressed_back) )
 		{
-			if( m_radio == 0 )
+			if (openFileDialog || m_radio == 0)
 			{
 				CFileDialog dlg(openFileDialog, NULL, fileNameHint.IsEmpty() ? NULL : (LPCTSTR)fileNameHint,
 					OFN_EXPLORER | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT |


More information about the gme-commit mailing list