diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-06-03 08:54:49 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-06-03 08:54:49 +0200 |
commit | 7dec5f41b2cffafe4d743273600e2868d116166d (patch) | |
tree | 1ea5e30103db6e2e8454f5c5c2e885008dc7d99d /src/data_imports/DataImportsUI.vala | |
parent | 9e7cd144725a270e0460b21747619f447ca87684 (diff) |
New upstream version 0.26.2upstream/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); |