Browse Source

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

Source commit: 2d2fc73a89fa2a819dbf173a23ec5ba7180696c5
Martin Prikryl 10 years ago
parent
commit
d0860c9243
1 changed files with 3 additions and 0 deletions
  1. 3 0
      source/forms/Preferences.dfm

+ 3 - 0
source/forms/Preferences.dfm

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