mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-22 16:43:23 -05:00
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.
This commit is contained in:
parent
027b932f24
commit
c2d142e96a
@ -1,4 +1,4 @@
|
||||
############################################################################
|
||||
###########################################################################
|
||||
##
|
||||
## YardBox.pm
|
||||
## Copyright (C) 2000 by Jonathan Rosenbaum
|
||||
@ -312,9 +312,7 @@ sub file_system {
|
||||
}
|
||||
if (!visible $filesystem_window) {
|
||||
$filesystem_window->show();
|
||||
} else {
|
||||
$filesystem_window->destroy;
|
||||
}
|
||||
}
|
||||
|
||||
} # end sub file_system
|
||||
|
||||
@ -1321,10 +1319,7 @@ sub search {
|
||||
}
|
||||
if (!visible $search_window) {
|
||||
$search_window->show();
|
||||
} else {
|
||||
$search_window->destroy;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} # end sub search
|
||||
|
||||
@ -1739,8 +1734,6 @@ sub Replacements {
|
||||
}
|
||||
if (!visible $replacements_window) {
|
||||
$replacements_window->show();
|
||||
} else {
|
||||
$replacements_window->destroy;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user