1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 21:37:34 +00:00

TextEditor: Fix window title when starting with an empty document.

This commit is contained in:
Andreas Kling 2019-05-27 23:33:17 +02:00
parent ca4d65ba59
commit 4040c6137d

View file

@ -34,6 +34,7 @@ int main(int argc, char** argv)
GApplication app(argc, argv); GApplication app(argc, argv);
auto* window = new GWindow; auto* window = new GWindow;
window->set_title("Text Editor");
auto* widget = new GWidget; auto* widget = new GWidget;
widget->set_layout(make<GBoxLayout>(Orientation::Vertical)); widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
widget->layout()->set_spacing(0); widget->layout()->set_spacing(0);