complete save to file action

This commit is contained in:
yggverse 2024-07-12 18:54:17 +03:00
parent 38203c2ffe
commit 9b5c434ad1

View file

@ -57,12 +57,15 @@ class Save
);
if (\GtkResponseType::APPLY == $dialog->run())
{
if ($page = $this->file->menu->browser->container->tab->getPage())
{
file_put_contents(
$dialog->get_filename(),
'' // @TODO get active tab content
$page->content->data->raw
);
}
}
$dialog->destroy();
}