Skip to content

Commit

Permalink
allow changing the m_filename of FileContext
Browse files Browse the repository at this point in the history
  • Loading branch information
xusheng6 committed Aug 27, 2020
1 parent a2ea93d commit 03ab2b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/filecontext.h
Expand Up @@ -46,6 +46,7 @@ class BINARYNINJAUIAPI FileContext: public FileContextBase, public BinaryNinja::

BinaryViewRef getRawData() const { return m_rawData; }
QString getFilename() const { return m_filename; }
void setFilename(QString newName) {m_filename = newName;}
ViewFrame* getCurrentViewFrame() const { return m_currentViewFrame; }

bool isValidSaveFilename() const { return m_isValidSaveFilename; }
Expand Down

0 comments on commit 03ab2b6

Please sign in to comment.