remove unused code

This commit is contained in:
Roland W-H 2025-04-28 12:54:07 +01:00
parent abbcbe41d0
commit 09f8b7bba8
2 changed files with 0 additions and 6 deletions

View File

@ -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"]

View File

@ -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