diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-10-03 15:46:30 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-10-03 15:46:30 +0000 |
| commit | 14f432133081273396d48e4322115d6fc1860727 (patch) | |
| tree | 2f24ea179da7f84d5e1144abf038a08db9ce1694 /src/Fl_File_Chooser.cxx | |
| parent | b6e2aceb4aa69d8eac85f8944434b4af5575985b (diff) | |
Fix "create" handling of new-directory button.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Chooser.cxx')
| -rw-r--r-- | src/Fl_File_Chooser.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx index 10c7d68fb..1b009cd9a 100644 --- a/src/Fl_File_Chooser.cxx +++ b/src/Fl_File_Chooser.cxx @@ -355,9 +355,9 @@ if (t & MULTI) else fileList->type(FL_HOLD_BROWSER); if (t & CREATE) - newButton->deactivate(); -else newButton->activate(); +else + newButton->deactivate(); if (t & DIRECTORY) fileList->filetype(Fl_File_Browser::DIRECTORIES); else |
