diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-06-03 08:56:13 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-06-03 08:56:13 +0200 |
commit | daa075af9bd5f5818cb5ca4bc6f8118ccf0df7ab (patch) | |
tree | d2d09c2961bf5617cc57744d1684e5aef23e886c /src/data_imports/DataImportsUI.vala | |
parent | f8ca421bdacee8851965a4b802ada1d2366bdbc1 (diff) | |
parent | 7dec5f41b2cffafe4d743273600e2868d116166d (diff) |
Merge tag 'upstream/0.26.2' into feature/upstream
Upstream version 0.26.2
Diffstat (limited to 'src/data_imports/DataImportsUI.vala')
-rw-r--r-- | src/data_imports/DataImportsUI.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/data_imports/DataImportsUI.vala b/src/data_imports/DataImportsUI.vala index 5b94dcb..2c0cd40 100644 --- a/src/data_imports/DataImportsUI.vala +++ b/src/data_imports/DataImportsUI.vala @@ -295,7 +295,9 @@ public class DataImportsDialog : Gtk.Dialog { close_cancel_button = new Gtk.Button.with_mnemonic("_Cancel"); close_cancel_button.set_can_default(true); ((Gtk.HeaderBar) get_header_bar()).pack_start(close_cancel_button); - ((Gtk.HeaderBar) get_header_bar()).pack_end(service_selector_box); + if (service_selector_box != null) { + ((Gtk.HeaderBar) get_header_bar()).pack_end(service_selector_box); + } } else { add_button (_("_Cancel"), Gtk.ResponseType.CANCEL); |