summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-24 23:06:44 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-24 23:06:44 +0200
commit4bea3a4aa694fe01c0bbbbcf85185c71d74d9d26 (patch)
tree2e7592af66f86eaf0a01d3ade6a3a304e8878a39 /Applications
parent5c240af3f779edfef32547bd295a0237deff9ae8 (diff)
downloadserenity-4bea3a4aa694fe01c0bbbbcf85185c71d74d9d26.zip
GTextEditor: Turn off the ruler by default.
You're usually not gonna want the ruler. TextEditor can enable it manually.
Diffstat (limited to 'Applications')
-rw-r--r--Applications/TextEditor/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Applications/TextEditor/main.cpp b/Applications/TextEditor/main.cpp
index 43dcb6411b..4ba1c3d184 100644
--- a/Applications/TextEditor/main.cpp
+++ b/Applications/TextEditor/main.cpp
@@ -24,6 +24,7 @@ int main(int argc, char** argv)
auto* toolbar = new GToolBar(widget);
auto* text_editor = new GTextEditor(GTextEditor::MultiLine, widget);
+ text_editor->set_ruler_visible(true);
auto* statusbar = new GStatusBar(widget);
text_editor->on_cursor_change = [statusbar, text_editor] {