Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/main-process/projectWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ ProjectWindow.prototype.zoom = function(amount) {

// Try to load up an optional <ink_root_file_name>.settings.json file
ProjectWindow.prototype.refreshProjectSettings = function(rootInkFilePath) {
if (!rootInkFilePath) return

let self = this;

Expand Down Expand Up @@ -279,6 +280,7 @@ ProjectWindow.clearRecentFiles = function() {
}

function addRecentFile(filePath) {
if (!filePath) return;
const resolvedFilePath = path.resolve(filePath);
const recentFiles = ProjectWindow.getRecentFiles();
const newRecentFiles = recentFiles.indexOf(resolvedFilePath) >= 0 ?
Expand Down