mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 03:47:23 +01:00
Avoid some errors using insensitive buttons
This commit is contained in:
parent
a371e356f7
commit
43b07c73dc
11 changed files with 88 additions and 49 deletions
|
|
@ -72,6 +72,10 @@ template $MusicusAlbumEditor: Adw.NavigationPage {
|
|||
title: _("_Create album");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
|
||||
styles [
|
||||
"suggested-action",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,10 @@ template $MusicusEnsembleEditor: Adw.NavigationPage {
|
|||
title: _("_Create ensemble");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
|
||||
styles [
|
||||
"suggested-action",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,10 @@ template $MusicusInstrumentEditor: Adw.NavigationPage {
|
|||
title: _("_Create instrument");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
|
||||
styles [
|
||||
"suggested-action",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,10 @@ template $MusicusPersonEditor: Adw.NavigationPage {
|
|||
title: _("_Create person");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
|
||||
styles [
|
||||
"suggested-action",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -264,6 +264,10 @@ template $MusicusProgramEditor: Adw.NavigationPage {
|
|||
title: _("_Save program");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
|
||||
styles [
|
||||
"suggested-action",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -131,7 +131,12 @@ template $MusicusRecordingEditor: Adw.NavigationPage {
|
|||
Adw.ButtonRow save_row {
|
||||
title: _("_Create recording");
|
||||
use-underline: true;
|
||||
sensitive: false;
|
||||
activated => $save() swapped;
|
||||
|
||||
styles [
|
||||
"suggested-action",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,10 @@ template $MusicusRoleEditor: Adw.NavigationPage {
|
|||
title: _("_Create role");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
|
||||
styles [
|
||||
"suggested-action",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,7 +89,12 @@ template $MusicusTracksEditor: Adw.NavigationPage {
|
|||
Adw.ButtonRow save_row {
|
||||
title: _("_Import tracks");
|
||||
use-underline: true;
|
||||
sensitive: false;
|
||||
activated => $save() swapped;
|
||||
|
||||
styles [
|
||||
"suggested-action",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -126,6 +126,10 @@ template $MusicusWorkEditor: Adw.NavigationPage {
|
|||
title: _("_Create work");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
|
||||
styles [
|
||||
"suggested-action",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue