mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 06:21:25 +00:00
Hide "Play subtags" option in File > Export if there are no tags (fix #4308)
This commit is contained in:
parent
30f55d196b
commit
e129fefb2e
@ -228,7 +228,9 @@ void ExportFileWindow::updateAniDir()
|
||||
void ExportFileWindow::updatePlaySubtags()
|
||||
{
|
||||
std::string framesValue = this->framesValue();
|
||||
playSubtags()->setVisible(framesValue != kSelectedFrames);
|
||||
playSubtags()->setVisible(framesValue != kSelectedFrames &&
|
||||
// We hide the option if there is no tag
|
||||
!m_doc->sprite()->tags().empty());
|
||||
layout();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user