mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-02 09:23:18 +00:00
Replace 'edit source window' with popup
This commit is contained in:
parent
129b30b9e7
commit
854152b395
13 changed files with 101 additions and 163 deletions
|
@ -47,16 +47,12 @@ export component CalendarView inherits Rectangle {
|
|||
VButton {
|
||||
text: "Create";
|
||||
clicked => {
|
||||
debug("clicked OK");
|
||||
debug(createEventPopup.width);
|
||||
debug(createEventPopup.height);
|
||||
AppWindowActions.create-event({
|
||||
title: titleInput.text,
|
||||
date: dateInput.date,
|
||||
startsAt: startTimeInput.time,
|
||||
endsAt: endTimeInput.time
|
||||
});
|
||||
debug("Event sent");
|
||||
createEventPopup.close();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue