Skip to content

Commit

Permalink
Fix filename not re-compiling AST in setFormat (fix #1630)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Apr 17, 2019
1 parent 347da82 commit e0e3b2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/models/filename.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ QString Filename::format() const
void Filename::setFormat(const QString &format)
{
m_format = format;
m_ast = FilenameCache::Get(format);
}

void Filename::setEscapeMethod(QString (*escapeMethod)(const QVariant &))
Expand Down

0 comments on commit e0e3b2e

Please sign in to comment.