mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-03 13:32:27 +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.
|
// isn't the last one.
|
||||||
goForwardButton()->setEnabled(
|
goForwardButton()->setEnabled(
|
||||||
navigation_history.size() > 1 &&
|
navigation_history.size() > 1 &&
|
||||||
(navigation_position.is_null() ||
|
navigation_position.is_valid() &&
|
||||||
navigation_position.get() != navigation_history.end()-1));
|
navigation_position.get() != navigation_history.end()-1);
|
||||||
|
|
||||||
// Update the state of the go up button: if the current-folder isn't
|
// Update the state of the go up button: if the current-folder isn't
|
||||||
// the root-item.
|
// the root-item.
|
||||||
|
Loading…
Reference in New Issue
Block a user