Skip to content

Commit

Permalink
project manager: don't crash if a pool update happens on opening a
Browse files Browse the repository at this point in the history
project
  • Loading branch information
carrotIndustries committed Feb 5, 2022
1 parent eb40288 commit 351bcd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pool-prj-mgr/pool-prj-mgr-app_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,8 @@ void PoolProjectManagerAppWindow::set_pool_updating(bool v, bool success)
500);
}
}
if (!get_realized())
return;
auto win = get_window();
if (v)
win->set_cursor(Gdk::Cursor::create(win->get_display(), "progress"));
Expand Down

0 comments on commit 351bcd9

Please sign in to comment.