mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 11:07:43 +00:00
Bug fix
This commit is contained in:
parent
d458e9af58
commit
031ea86068
@ -384,6 +384,12 @@ final class NewCaseVisualPanel1 extends JPanel implements DocumentListener {
|
|||||||
// multi-user cases must have multi-user database service running
|
// multi-user cases must have multi-user database service running
|
||||||
if (info.canConnect()) {
|
if (info.canConnect()) {
|
||||||
rbMultiUserCase.setSelected(true); // default to multi-user if available
|
rbMultiUserCase.setSelected(true); // default to multi-user if available
|
||||||
|
|
||||||
|
/* NOTE: natural way would be to call lbBadMultiUserSettings.setVisible(false)
|
||||||
|
but if you do that Netbeans for some reason resizes the entire panel so it
|
||||||
|
becomes much narrower horizontally.
|
||||||
|
*/
|
||||||
|
lbBadMultiUserSettings.setText("");
|
||||||
} else {
|
} else {
|
||||||
// if we cannot connect to the shared database, don't present the option
|
// if we cannot connect to the shared database, don't present the option
|
||||||
lbBadMultiUserSettings.setForeground(new java.awt.Color(255, 0, 0)); // Red
|
lbBadMultiUserSettings.setForeground(new java.awt.Color(255, 0, 0)); // Red
|
||||||
|
Loading…
x
Reference in New Issue
Block a user