HaikuDepot: fix screenshot window toolbar
* Next-button was disabled too early
This commit is contained in:
parent
4824497d01
commit
47e34fcb8a
@ -297,7 +297,7 @@ ScreenshotWindow::_UpdateToolBar()
|
||||
fToolBar->SetActionEnabled(MSG_PREVIOUS_SCREENSHOT,
|
||||
currentIndex > 0);
|
||||
fToolBar->SetActionEnabled(MSG_NEXT_SCREENSHOT,
|
||||
currentIndex < fNumScreenshots - 2);
|
||||
currentIndex < fNumScreenshots - 1);
|
||||
|
||||
BString text;
|
||||
text << currentIndex + 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user