Skip to content

Commit acc90dd

Browse files
committed
Revert invalid cast
1 parent 205f48a commit acc90dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Widgets/Sidebar.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public class Code.Sidebar : Gtk.Grid {
8383
+ Scratch.MainWindow.ACTION_COLLAPSE_ALL_FOLDERS);
8484

8585
var action_group = new SimpleActionGroup ();
86-
var sort_action = (SimpleAction) Scratch.saved_state.create_action ("order-folders");
86+
var sort_action = Scratch.saved_state.create_action ("order-folders");
8787
action_group.add_action (sort_action);
8888
insert_action_group (SIDEBAR_ACTION_GROUP, action_group);
8989

0 commit comments

Comments
 (0)