Fix stupid mistake

This commit is contained in:
Kingcom 2013-07-23 18:16:21 +02:00
parent 0afd7dea28
commit 97b89c50df

View File

@ -326,9 +326,10 @@ namespace MainWindow
if (browseDirectory)
{
std::string dir = W32Util::BrowseForFolder(GetHWND(),"Choose directory");
if (dir == "" && !isPaused)
if (dir == "")
{
Core_EnableStepping(false);
if (!isPaused)
Core_EnableStepping(false);
}
else
{