Skip to content

Commit

Permalink
Fix: error when opening Git Browser without any working copies
Browse files Browse the repository at this point in the history
Closes #288

(cherry-picked from commit a384153)
  • Loading branch information
j4yk committed Sep 25, 2020
1 parent 8ee36c8 commit 8e0af98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Squit.package/SquitBrowser.class/instance/refresh.st
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ui
refresh
Cursor wait showWhile:
[self changed: #projectList.
(self projectIndex = 0 and: [self projectList size > 0]) ifTrue: [self projectIndex: 2].
(self projectIndex = 0 and: [self hasProjects]) ifTrue: [self projectIndex: 2].
self changed: #projectIndex.
self withUnitOfWork:
[self hasProjectSelection ifFalse:
Expand Down
2 changes: 1 addition & 1 deletion src/Squit.package/SquitBrowser.class/methodProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"push:toRemoteNamed:" : "jr 8/8/2020 00:08",
"pushBranch" : "jr 8/8/2020 00:08",
"rebuildCommitList" : "jr 5/17/2020 23:35",
"refresh" : "jr 8/10/2020 00:20",
"refresh" : "jr 9/25/2020 20:11",
"remoteUrlOf:" : "jr 3/7/2020 00:08",
"remotesMenuWithItems:" : "jr 3/4/2020 01:01",
"remotesPushSubMenu" : "jr 5/30/2019 01:14",
Expand Down

0 comments on commit 8e0af98

Please sign in to comment.