Skip to content

Commit

Permalink
Don't clear the UI when cancelling configuration import
Browse files Browse the repository at this point in the history
  • Loading branch information
brentvollebregt committed Mar 24, 2024
1 parent 517178d commit c69e8ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion auto_py_to_exe/web/js/importExport.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ const onConfigurationImport = async () => {
}

const data = await eel.import_configuration()();
importConfiguration(data);
if (data !== null) {
importConfiguration(data);
}
};

const onConfigurationExport = async () => {
Expand Down

0 comments on commit c69e8ba

Please sign in to comment.