Skip to content

Commit

Permalink
Core: Text object: Fix icon of the tab.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaddleStroke authored Mar 6, 2025
1 parent da3badd commit 59aae0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Gui/TextDocumentEditorView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

#include "TextDocumentEditorView.h"
#include "Application.h"
#include "BitmapFactory.h"
#include "Document.h"
#include "MainWindow.h"

Expand All @@ -49,6 +50,7 @@ TextDocumentEditorView::TextDocumentEditorView(App::TextDocument* txtDoc,
setupEditor();
setupConnection();
setCentralWidget(editor);
setWindowIcon(Gui::BitmapFactory().iconFromTheme("TextDocument"));

// clang-format off
// update editor actions on request
Expand Down

0 comments on commit 59aae0f

Please sign in to comment.