diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2015-09-03 23:10:42 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2015-09-04 09:45:09 +1000 |
commit | b3b5646a30e65db98a08b4bfe821d7aae3f2eec3 (patch) | |
tree | 9da5a56276f8f893ca300734ed963b8315aa23d5 /gtk2_ardour/sfdb_ui.h | |
parent | 303b27a69b5befdbedf7fb6f3e57b9701de8664f (diff) |
Remove Apply button in Import dialog/Window and change OK to "Import"
Don't close the window when clicking on Import. Changing "OK" to "Import" makes
it clear what action is being taken by the button. I quite frequently imported
several files from different directories using "Apply" and then would click on
OK to finish using the dialog only to have the last import occur again
unintentionally.
Another option would of been to change "Apply" to "Import" and "OK" to "Import
and Close" and not have a Close button.
Diffstat (limited to 'gtk2_ardour/sfdb_ui.h')
-rw-r--r-- | gtk2_ardour/sfdb_ui.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/sfdb_ui.h b/gtk2_ardour/sfdb_ui.h index c8aaa03d0e..07de8b74d8 100644 --- a/gtk2_ardour/sfdb_ui.h +++ b/gtk2_ardour/sfdb_ui.h @@ -213,9 +213,8 @@ class SoundFileBrowser : public ArdourWindow Gtk::HBox hpacker; Gtk::VBox vpacker; - Gtk::Button ok_button; + Gtk::Button import_button; Gtk::Button close_button; - Gtk::Button apply_button; static std::string persistent_folder; |