Fix plug-in hanging indefinitely
Fix plug-in hanging indefinitely

Fixed the plug-in hanging indefinitely when the plug-in displays the exception message and the user closes it. Looks like the while loop is an infinite loop, although I can't quite understand why. Reverted to "if" statement.

khalim19/gimp-plugin-export-layers,khalim19/gimp-plugin-export-layers