aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/TextEdit.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-08 07:39:58 +0000
committersaturneric <[email protected]>2024-01-08 07:39:58 +0000
commitd4eb21eae9b26ceb5d915b53650964d6e129e8cf (patch)
treee7cc3ee1ec9289c669d9523389a45af3da5a3424 /src/ui/widgets/TextEdit.h
parentfeat: select a directory before entering into the File Browser (diff)
downloadGpgFrontend-d4eb21eae9b26ceb5d915b53650964d6e129e8cf.tar.gz
GpgFrontend-d4eb21eae9b26ceb5d915b53650964d6e129e8cf.zip
fix: slove issue #123 "Append fingerprint to editor" crashes if there is no editor open
Diffstat (limited to 'src/ui/widgets/TextEdit.h')
-rw-r--r--src/ui/widgets/TextEdit.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/widgets/TextEdit.h b/src/ui/widgets/TextEdit.h
index 4eb1d537..842cb406 100644
--- a/src/ui/widgets/TextEdit.h
+++ b/src/ui/widgets/TextEdit.h
@@ -282,6 +282,13 @@ class TextEdit : public QWidget {
*/
void SlotSelectAll() const;
+ /**
+ * @brief
+ *
+ * @param text
+ */
+ void SlotAppendText2CurTextPage(const QString& text);
+
protected:
/**
* @brief Saves the content of currentTab to the file filename