mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-10 21:44:22 +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()
|
void ExportFileWindow::updatePlaySubtags()
|
||||||
{
|
{
|
||||||
std::string framesValue = this->framesValue();
|
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();
|
layout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user