mirror of
https://github.com/RolandWH/SIPPCompare.git
synced 2025-05-10 00:31:49 +01:00
remove unused code
This commit is contained in:
parent
abbcbe41d0
commit
09f8b7bba8
@ -243,11 +243,6 @@ class DBHandler:
|
||||
|
||||
return user_details_dict
|
||||
|
||||
# Toggle whether fees for this platform should be calculated
|
||||
def toggle_platform_state(self, index: int, state: bool):
|
||||
self.cur.execute("UPDATE tblPlatforms SET IsEnabled = ? WHERE PlatformID = ?", [state, index])
|
||||
self.conn.commit()
|
||||
|
||||
# Remove a platform from the DB - update the IDs to keep them sequential
|
||||
def remove_platform(self, index: int):
|
||||
tbl_list = ["tblPlatforms", "tblFlatPlatFees", "tblFlatDealFees", "tblFundPlatFee"]
|
||||
|
@ -18,7 +18,6 @@ class PlatformEdit(QDialog):
|
||||
|
||||
# Initialise class variables
|
||||
self.plat = plat
|
||||
self.fund_plat_fee = self.plat.fund_plat_fee
|
||||
self.widgets_list_list = []
|
||||
if len(self.plat.fund_plat_fee[0]) > 1:
|
||||
self.fund_fee_rows = len(self.plat.fund_plat_fee[0]) - 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user