mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 01:33:19 +00:00
Remove unused code, move logic from .h to their .cpp, clean some things
This commit is contained in:
parent
924e35ecc4
commit
cb6c663833
41 changed files with 492 additions and 978 deletions
|
@ -29,7 +29,7 @@ export component EventWindow inherits Window {
|
|||
default-font-size: 16px;
|
||||
background: Palette.background;
|
||||
|
||||
in-out property<int> sourceId <=> resourceInput.current-index;
|
||||
in-out property<int> sourceId <=> sourceInput.current-index;
|
||||
in-out property<int> eventId: -1;
|
||||
in-out property<Date> taskDate <=> taskDateInput.date;
|
||||
in-out property<string> taskTitle <=> taskTitleInput.text;
|
||||
|
@ -46,8 +46,8 @@ export component EventWindow inherits Window {
|
|||
text: eventId == -1 ? "New event" : "Edit event";
|
||||
}
|
||||
|
||||
resourceInput := ComboBox {
|
||||
model: Backend.resources;
|
||||
sourceInput := ComboBox {
|
||||
model: Backend.sources;
|
||||
enabled: eventId == -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue