Commit e31b2b13 authored by Christian MOMON's avatar Christian MOMON
Browse files

Fixed none general tab refresh on error.

parent 70487eee
......@@ -139,8 +139,6 @@ public class FlatDB4GeoNamesWindow extends JFrame
if (databaseDirectory != null)
{
FlatDB4GeoNames.open(databaseDirectory);
refreshAll();
}
}
catch (IOException exception)
......@@ -155,6 +153,10 @@ public class FlatDB4GeoNamesWindow extends JFrame
//
JOptionPane.showMessageDialog(null, message, title, JOptionPane.ERROR_MESSAGE);
}
finally
{
refreshAll();
}
}
});
mnFile.add(mntmOpenDatabase);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment