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 23 years ago
parent
commit
c2d142e96a
  1. 9
      BootRoot/YardBox.pm

9
BootRoot/YardBox.pm

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

Loading…
Cancel
Save