Skip to content

Commit

Permalink
kramv - fix logic to hide/show ui
Browse files Browse the repository at this point in the history
  • Loading branch information
alecazam committed Jan 26, 2023
1 parent 55559a8 commit 0b8824d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kramv/KramViewerMain.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,7 @@ -(BOOL)loadFile
// doesn't set imageURL or update the recent document menu

// show the controls
if (!_data._noImageLoaded) {
if (_data._noImageLoaded) {
_showSettings->isHideUI = false;
_buttonStack.hidden = NO; // show controls
_data._noImageLoaded = false;
Expand Down

0 comments on commit 0b8824d

Please sign in to comment.