Sfoglia il codice sorgente

Using Save dialog instead of Open for selecting log file and random seed file paths

Source commit: 2d2fc73a89fa2a819dbf173a23ec5ba7180696c5
Martin Prikryl 10 anni fa
parent
commit
d0860c9243
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      source/forms/Preferences.dfm

+ 3 - 0
source/forms/Preferences.dfm

@@ -285,6 +285,7 @@ object PreferencesDialog: TPreferencesDialog
             AcceptFiles = True
             OnBeforeDialog = PathEditBeforeDialog
             OnAfterDialog = PathEditAfterDialog
+            DialogKind = dkSave
             DefaultExt = 'log'
             Filter = 'Session log files (*.log)|*.log|All files (*.*)|*.*'
             DialogOptions = [ofHideReadOnly, ofPathMustExist]
@@ -430,6 +431,7 @@ object PreferencesDialog: TPreferencesDialog
             AcceptFiles = True
             OnBeforeDialog = PathEditBeforeDialog
             OnAfterDialog = PathEditAfterDialog
+            DialogKind = dkSave
             DefaultExt = 'xml'
             Filter = 'XML log files (*.xml)|*.xml|All files (*.*)|*.*'
             DialogOptions = [ofHideReadOnly, ofPathMustExist]
@@ -1725,6 +1727,7 @@ object PreferencesDialog: TPreferencesDialog
             AcceptFiles = True
             OnBeforeDialog = PathEditBeforeDialog
             OnAfterDialog = PathEditAfterDialog
+            DialogKind = dkSave
             DefaultExt = 'log'
             Filter = 'Random seed files (*.rnd)|*.rnd|All files (*.*)|*.*'
             DialogOptions = [ofHideReadOnly, ofPathMustExist]