Remove pointless null-check
This check can never be null; we already defererence this variable before, so we would have seen an NRE here already.
This commit is contained in:
parent
efe02322ad
commit
83872710bf
1 changed files with 2 additions and 4 deletions
|
|
@ -1422,10 +1422,8 @@ public class GearyController : Geary.BaseObject {
|
||||||
}
|
}
|
||||||
|
|
||||||
// disable copy/move to the new folder
|
// disable copy/move to the new folder
|
||||||
if (current_folder != null) {
|
main_window.main_toolbar.copy_folder_menu.enable_disable_folder(current_folder, false);
|
||||||
main_window.main_toolbar.copy_folder_menu.enable_disable_folder(current_folder, false);
|
main_window.main_toolbar.move_folder_menu.enable_disable_folder(current_folder, false);
|
||||||
main_window.main_toolbar.move_folder_menu.enable_disable_folder(current_folder, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
update_ui();
|
update_ui();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue