summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-08-21 19:33:54 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-08-21 19:33:54 +0200
commitd5431a6df8414e5c6302833862cd797c833291ae (patch)
tree4cf61d35397ebcb7a7a73925bd3f8a0c1e724795 /Libraries
parent9e5c5627d5da2fc7a08f75016d48c043af980bc4 (diff)
downloadserenity-d5431a6df8414e5c6302833862cd797c833291ae.zip
GTextEditor: Rename is_automatic_indentation_enabled() API
The previous name was is_automatic_indentation() which sounds weird.
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibGUI/GTextEditor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GTextEditor.h b/Libraries/LibGUI/GTextEditor.h
index 1f37f251aa..2b858e8d05 100644
--- a/Libraries/LibGUI/GTextEditor.h
+++ b/Libraries/LibGUI/GTextEditor.h
@@ -90,7 +90,7 @@ public:
bool is_readonly() const { return m_readonly; }
void set_readonly(bool);
- bool is_automatic_indentation() const { return m_automatic_indentation_enabled; }
+ bool is_automatic_indentation_enabled() const { return m_automatic_indentation_enabled; }
void set_automatic_indentation_enabled(bool enabled) { m_automatic_indentation_enabled = enabled; }
TextAlignment text_alignment() const { return m_text_alignment; }