mirror of
				https://github.com/RolandWH/SIPPCompare.git
				synced 2025-11-03 19:42:12 +00:00 
			
		
		
		
	remove unused code
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user