Drop extra method

fsp_feeds
Tyler Goodlet 2021-09-11 10:56:03 -04:00
parent 7e366d18cb
commit 6fa8958acf
2 changed files with 2 additions and 14 deletions

View File

@ -62,19 +62,6 @@ class SettingsPane:
# encompasing high level namespace # encompasing high level namespace
order_mode: Optional['OrderMode'] = None # typing: ignore # noqa order_mode: Optional['OrderMode'] = None # typing: ignore # noqa
def on_selection_change(
self,
text: str,
key: str,
) -> None:
'''Called on any order pane drop down selection change.
'''
log.info(f'selection input: {text}')
self.on_ui_settings_change(key, text)
def on_ui_settings_change( def on_ui_settings_change(
self, self,
@ -85,6 +72,7 @@ class SettingsPane:
'''Called on any order pane edit field value change. '''Called on any order pane edit field value change.
''' '''
log.info(f'selection input: {value}')
mode = self.order_mode mode = self.order_mode
if key == 'account': if key == 'account':

View File

@ -733,7 +733,7 @@ async def open_order_mode(
w.currentTextChanged.connect( w.currentTextChanged.connect(
partial( partial(
order_pane.on_selection_change, order_pane.on_ui_settings_change,
key=key, key=key,
) )
) )