mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-06 06:58:15 +00:00
Disable forward button correctly when the file selector is opened
This commit is contained in:
parent
497eb97067
commit
c1d5c94e22
@ -720,8 +720,8 @@ void FileSelector::updateNavigationButtons()
|
||||
// isn't the last one.
|
||||
goForwardButton()->setEnabled(
|
||||
navigation_history.size() > 1 &&
|
||||
(navigation_position.is_null() ||
|
||||
navigation_position.get() != navigation_history.end()-1));
|
||||
navigation_position.is_valid() &&
|
||||
navigation_position.get() != navigation_history.end()-1);
|
||||
|
||||
// Update the state of the go up button: if the current-folder isn't
|
||||
// the root-item.
|
||||
|
Loading…
Reference in New Issue
Block a user