mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:07:34 +00:00
TextEditor: Show "Untitled" when there's no current document path
This commit is contained in:
parent
7c0e43eb3d
commit
2dc09d1cd7
3 changed files with 8 additions and 3 deletions
|
@ -54,10 +54,11 @@ public:
|
|||
void set_preview_mode(PreviewMode);
|
||||
void set_auto_detect_preview_mode(bool value) { m_auto_detect_preview_mode = value; }
|
||||
|
||||
void update_title();
|
||||
|
||||
private:
|
||||
TextEditorWidget();
|
||||
void set_path(const LexicalPath& file);
|
||||
void update_title();
|
||||
void update_preview();
|
||||
void update_markdown_preview();
|
||||
void update_html_preview();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue