@@ -53,7 +53,7 @@ internal sealed class ConfigManager
53
53
public bool DisableLookupsForNonJapaneseCharsInMainWindow { get ; private set ; } // = false;
54
54
public bool MainWindowFocusOnHover { get ; private set ; } // = false;
55
55
public bool SteppedBacklogWithMouseWheel { get ; private set ; } = true ;
56
- public bool HideAllTitleBarButtonsWhenMouseIsNotOverTitleBar { get ; set ; } // = false ;
56
+ public bool HideAllTitleBarButtonsWhenMouseIsNotOverTitleBar { get ; set ; } = true ;
57
57
public bool EnableBacklog { get ; private set ; } = true ;
58
58
public bool AutoSaveBacklogBeforeClosing { get ; private set ; } // = false;
59
59
public bool TextToSpeechOnTextChange { get ; private set ; } // = false;
@@ -99,7 +99,6 @@ internal sealed class ConfigManager
99
99
public bool FixedPopupBottomPositioning { get ; private set ; } // = false;
100
100
public double FixedPopupYPosition { get ; set ; } // = 0;
101
101
public bool PopupFocusOnLookup { get ; private set ; } // = false;
102
- public bool ShowMiningModeReminder { get ; private set ; } = true ;
103
102
public bool DisableLookupsForNonJapaneseCharsInPopups { get ; private set ; } = true ;
104
103
public Brush PopupBackgroundColor { get ; private set ; } = new SolidColorBrush ( Color . FromRgb ( 0 , 0 , 0 ) )
105
104
{
@@ -337,7 +336,6 @@ public void ApplyPreferences(SqliteConnection connection)
337
336
}
338
337
339
338
PopupFocusOnLookup = ConfigDBManager . GetValueFromConfig ( connection , PopupFocusOnLookup , nameof ( PopupFocusOnLookup ) , bool . TryParse ) ;
340
- ShowMiningModeReminder = ConfigDBManager . GetValueFromConfig ( connection , ShowMiningModeReminder , nameof ( ShowMiningModeReminder ) , bool . TryParse ) ;
341
339
DisableLookupsForNonJapaneseCharsInPopups = ConfigDBManager . GetValueFromConfig ( connection , DisableLookupsForNonJapaneseCharsInPopups , nameof ( DisableLookupsForNonJapaneseCharsInPopups ) , bool . TryParse ) ;
342
340
FixedPopupPositioning = ConfigDBManager . GetValueFromConfig ( connection , FixedPopupPositioning , nameof ( FixedPopupPositioning ) , bool . TryParse ) ;
343
341
FixedPopupRightPositioning = ConfigDBManager . GetValueFromConfig ( connection , FixedPopupRightPositioning , nameof ( FixedPopupRightPositioning ) , bool . TryParse ) ;
@@ -1004,7 +1002,6 @@ public void LoadPreferenceWindow(PreferencesWindow preferenceWindow)
1004
1002
preferenceWindow . MineMouseButtonComboBox . SelectedValue = MineMouseButton . ToString ( ) ;
1005
1003
preferenceWindow . MinePrimarySpellingMouseButtonComboBox . SelectedValue = MinePrimarySpellingMouseButton . ToString ( ) ;
1006
1004
1007
- preferenceWindow . ShowMiningModeReminderCheckBox . IsChecked = ShowMiningModeReminder ;
1008
1005
preferenceWindow . DisableLookupsForNonJapaneseCharsInPopupsCheckBox . IsChecked = DisableLookupsForNonJapaneseCharsInPopups ;
1009
1006
preferenceWindow . HideDictTabsWithNoResultsCheckBox . IsChecked = HideDictTabsWithNoResults ;
1010
1007
preferenceWindow . AutoHidePopupIfMouseIsNotOverItCheckBox . IsChecked = AutoHidePopupIfMouseIsNotOverIt ;
@@ -1417,9 +1414,6 @@ public async Task SavePreferences(PreferencesWindow preferenceWindow)
1417
1414
1418
1415
ConfigDBManager . UpdateSetting ( connection , "PopupFlip" , preferenceWindow . PopupFlipComboBox . SelectedValue . ToString ( ) ! ) ;
1419
1416
1420
- ConfigDBManager . UpdateSetting ( connection , nameof ( ShowMiningModeReminder ) ,
1421
- preferenceWindow . ShowMiningModeReminderCheckBox . IsChecked . ToString ( ) ! ) ;
1422
-
1423
1417
ConfigDBManager . UpdateSetting ( connection , nameof ( DisableLookupsForNonJapaneseCharsInPopups ) ,
1424
1418
preferenceWindow . DisableLookupsForNonJapaneseCharsInPopupsCheckBox . IsChecked . ToString ( ) ! ) ;
1425
1419
0 commit comments