mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
ClipboardHistory: Copy metadata when reusing a historical clipping
This commit is contained in:
parent
2e446b662b
commit
40e6a3dcc3
Notes:
sideshowbarker
2024-07-19 02:54:15 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/40e6a3dcc3c
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ int main(int argc, char* argv[])
|
|||
|
||||
table_view.on_activation = [&](const GUI::ModelIndex& index) {
|
||||
auto& data_and_type = model->item_at(index.row());
|
||||
GUI::Clipboard::the().set_data(data_and_type.data, data_and_type.mime_type);
|
||||
GUI::Clipboard::the().set_data(data_and_type.data, data_and_type.mime_type, data_and_type.metadata);
|
||||
};
|
||||
|
||||
auto applet_window = GUI::Window::construct();
|
||||
|
|
Loading…
Reference in a new issue