add shortcuts, node text font attributes
This commit is contained in:
@@ -862,15 +862,17 @@ void App::dialog_whatsnew(bool force_show)
|
||||
});
|
||||
whatsnew->add_button("Reload", 120, [this, whatsnew](Node*) {
|
||||
whatsnew->reload();
|
||||
});
|
||||
});
|
||||
whatsnew->add_button("Read Later", 120, [this, whatsnew](Node*) {
|
||||
Settings::unset("whatsnew-id");
|
||||
Settings::save();
|
||||
whatsnew->destroy();
|
||||
});
|
||||
});
|
||||
whatsnew->add_button("Close", 100, [this, whatsnew](Node*) {
|
||||
Settings::set<Serializer::Integer>("whatsnew-id", whatsnew->m_page_id);
|
||||
Settings::save();
|
||||
whatsnew->destroy();
|
||||
});
|
||||
});
|
||||
if (force_show)
|
||||
layout[main_id]->add_child(whatsnew);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user