mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-23 04:55:15 +00:00
TextEditor: Fix window title when starting with an empty document.
This commit is contained in:
parent
ca4d65ba59
commit
4040c6137d
Notes:
sideshowbarker
2024-07-19 13:53:21 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/4040c6137d5
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ int main(int argc, char** argv)
|
|||
GApplication app(argc, argv);
|
||||
|
||||
auto* window = new GWindow;
|
||||
window->set_title("Text Editor");
|
||||
auto* widget = new GWidget;
|
||||
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
|
||||
widget->layout()->set_spacing(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue