Browse Source

This changes the default behavior of search, file_system, and replacements to

not close when the shortcuts or menu are used after they are visible .. they can
only be closed from the their own actual window.  This is traditional UI.
master
freesource 24 years ago
parent
commit
c2d142e96a
  1. 9
      BootRoot/YardBox.pm

9
BootRoot/YardBox.pm

@ -1,4 +1,4 @@
############################################################################ ###########################################################################
## ##
## YardBox.pm ## YardBox.pm
## Copyright (C) 2000 by Jonathan Rosenbaum ## Copyright (C) 2000 by Jonathan Rosenbaum
@ -312,8 +312,6 @@ sub file_system {
} }
if (!visible $filesystem_window) { if (!visible $filesystem_window) {
$filesystem_window->show(); $filesystem_window->show();
} else {
$filesystem_window->destroy;
} }
} # end sub file_system } # end sub file_system
@ -1321,11 +1319,8 @@ sub search {
} }
if (!visible $search_window) { if (!visible $search_window) {
$search_window->show(); $search_window->show();
} else {
$search_window->destroy;
} }
} # end sub search } # end sub search
sub yard_menu { sub yard_menu {
@ -1739,8 +1734,6 @@ sub Replacements {
} }
if (!visible $replacements_window) { if (!visible $replacements_window) {
$replacements_window->show(); $replacements_window->show();
} else {
$replacements_window->destroy;
} }
} }

Loading…
Cancel
Save