mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:57:35 +00:00
Mail: Use set_activates_on_selection and on_activation callback
Preparation for a sortable mailbox. Otherwise the model would resort itself and select mail again forever. Arrow keys will no longer load mail automatically, now you also need to hit Enter.
This commit is contained in:
parent
59968c97f0
commit
ea70b96cf8
2 changed files with 10 additions and 12 deletions
|
@ -26,8 +26,8 @@ public:
|
|||
private:
|
||||
MailWidget();
|
||||
|
||||
void selected_mailbox();
|
||||
void selected_email_to_load();
|
||||
void selected_mailbox(GUI::ModelIndex const&);
|
||||
void selected_email_to_load(GUI::ModelIndex const&);
|
||||
|
||||
struct Alternative {
|
||||
IMAP::BodyStructureData const& body_structure;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue