Forgot to rename an action string
This commit is contained in:
parent
9910fe5d83
commit
966e380aad
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ public class Contacts.Window : Gtk.ApplicationWindow {
|
|||
view_switcher.visible_child_name = "content-view";
|
||||
set_titlebar (content_header_bar);
|
||||
} else {
|
||||
var change_book_action = app.lookup_action ("change_book") as GLib.SimpleAction;
|
||||
var change_book_action = app.lookup_action ("change-book") as GLib.SimpleAction;
|
||||
if (change_book_action != null) {
|
||||
change_book_action.set_enabled (false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue