diff options
| author | Xusheng <xusheng@vector35.com> | 2020-08-26 10:56:39 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2020-08-27 23:12:41 +0800 |
| commit | 03ab2b6b83a3cc6e7723be071bdfac72208ac34d (patch) | |
| tree | 5604a9b115185c0a430a9daf794bdac01c08e9a6 /ui/filecontext.h | |
| parent | a2ea93d70200a7d8f6e948965285b48bffbbbade (diff) | |
allow changing the m_filename of FileContext
Diffstat (limited to 'ui/filecontext.h')
| -rw-r--r-- | ui/filecontext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/filecontext.h b/ui/filecontext.h index 6a4f13ee..a3939a13 100644 --- a/ui/filecontext.h +++ b/ui/filecontext.h @@ -46,6 +46,7 @@ public: 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; } |
