diff options
author | Saturneric <[email protected]> | 2021-07-14 17:39:46 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-07-14 17:39:46 +0000 |
commit | a8080780d812d455a2523fdf55f927a7c3f5fb63 (patch) | |
tree | 9dc8d2dcfc87a1d103c34e85f769d08d315ce88e /src/ui/widgets/EditorPage.cpp | |
parent | Update Document. (diff) | |
parent | Merge pull request #12 from saturneric/develop (diff) | |
download | GpgFrontend-a8080780d812d455a2523fdf55f927a7c3f5fb63.tar.gz GpgFrontend-a8080780d812d455a2523fdf55f927a7c3f5fb63.zip |
Merge from github/main.
Diffstat (limited to '')
-rw-r--r-- | src/ui/widgets/EditorPage.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/widgets/EditorPage.cpp b/src/ui/widgets/EditorPage.cpp index 8a51b721..05d5cbea 100644 --- a/src/ui/widgets/EditorPage.cpp +++ b/src/ui/widgets/EditorPage.cpp @@ -42,6 +42,9 @@ EditorPage::EditorPage(QString filePath, QWidget *parent) : QWidget(parent), setAttribute(Qt::WA_DeleteOnClose); textPage->setFocus(); + // Front in same width + this->setFont({"Courier"}); + connect(textPage, SIGNAL(textChanged()), this, SLOT(formatGpgHeader())); } |