# HG changeset patch
# User Kalle Tuulos <oh1hqz@gmail.com>
# Date 1544563646 -7200
#      Tue Dec 11 23:27:26 2018 +0200
# Node ID a7e1b67290c9775f5e7be286d2a05855ac4066f2
# Parent  62b4cbefa86738c37317a133f903500f669baf23
[FT8900] Deleted inherited get_bank_model function, fixes #6293

The FT-8900 inherits its class from FT-8800, which defines also the
get_bank_model function. The existence of this function is checked
in order to decide, whether Banks tab is shown or not. As banks are
not supported in FT-8900, the banks tab must not be shown.

diff --git a/chirp/drivers/ft7800.py b/chirp/drivers/ft7800.py
--- a/chirp/drivers/ft7800.py
+++ b/chirp/drivers/ft7800.py
@@ -977,6 +977,8 @@
 
     MODES = ["FM", "NFM", "AM"]
 
+    del FT8800Radio.get_bank_model
+
     def process_mmap(self):
         self._memobj = bitwise.parse(MEM_FORMAT_8900, self._mmap)