[Update] 起動時に前回のtabを選択するように変更

This commit is contained in:
misygauziya committed 2023-08-29 15:25:56 +09:00
1 parent bcc2f69b83
commit 78ef7404aa
3 files changed
+26 -16

No files matched your search

@@ -513,12 +513,12 @@ def createSidebar(settings, main_window):
column+=1
# Set default active preset tab
main_window.current_active_preset_tab = getattr(main_window, "sqls__presets_button_1")
setDefaultActiveTab(
active_tab_widget=main_window.current_active_preset_tab,
active_bg_color=settings.ctm.SQLS__PRESETS_TAB_BG_ACTIVE_COLOR,
active_text_color=settings.ctm.SQLS__PRESETS_TAB_ACTIVE_TEXT_COLOR
)
# main_window.current_active_preset_tab = getattr(main_window, "sqls__presets_button_1")
# setDefaultActiveTab(
# active_tab_widget=main_window.current_active_preset_tab,
# active_bg_color=settings.ctm.SQLS__PRESETS_TAB_BG_ACTIVE_COLOR,
# active_text_color=settings.ctm.SQLS__PRESETS_TAB_ACTIVE_TEXT_COLOR
# )
# Quick Language settings BOX