Commit aaa1087a authored by Ash Balgimbayev's avatar Ash Balgimbayev Committed by Adam Dingle

Fixed broken build.

parent 29cdf25d
......@@ -10,6 +10,7 @@ Joeny Ang <ang.joeny@gmail.com>
Jeroen Arnoldus <b.j.arnoldus@bja-electronics.nl>
Michael Axiak <mike@axiak.net>
Eser Aygün <eser.aygun@gmail.com>
Ash Balgimbayev <ash.balgimbayev@hotmail.com>
Philip Beam <psbeam@gmail.com>
Jürg Billeter <j@bitron.ch>
Jonas Bushart <eberhardtjonas@aol.com>
......
......@@ -497,11 +497,11 @@ public class LibraryWindow : AppWindow {
assert(searchbar_action != null);
// Make sure rejected pictures are not being displayed on startup
Page tmp = get_current_page() as CheckerboardPage;
if (tmp != null)
init_view_filter(tmp);
CheckerboardPage? current_page = get_current_page() as CheckerboardPage;
if (current_page != null)
init_view_filter(current_page);
toggle_search_bar(should_show_search_bar(), get_current_page() as CheckerboardPage);
toggle_search_bar(should_show_search_bar(), current_page);
}
public static LibraryWindow get_app() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment