fix file detection

This commit is contained in:
eyck committed 2020-03-29 16:10:36 +02:00
1 parent 2aa4160400
commit 270a004037
4 files changed
+4 -1

No files matched your search

@@ -669,7 +669,7 @@ public class WaveformViewer implements IFileChangeListener, IPreferenceChangeLis
}
if (filesToLoad.size() > 0)
loadDatabase(persistedState);
if(partConfig instanceof String) {
if(partConfig instanceof String && ((String)partConfig).length()>0) {
loadState((String) partConfig);
}
}