Using prettier button
This commit is contained in:
@@ -27,7 +27,7 @@ public class MainWindow
|
||||
}
|
||||
shortcutsGroup = group;
|
||||
|
||||
var addButton = builder.GetObject("add_shortcut_button") as ActionRow;
|
||||
var addButton = builder.GetObject("add_shortcut_button") as ButtonRow;
|
||||
if (addButton == null)
|
||||
{
|
||||
throw new Exception("Failed to load UI element with ID: add_shortcut_button");
|
||||
|
||||
Reference in New Issue
Block a user