File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/main/java/prof7bit/bitcoin/wallettool/ui/swing/core Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ class WalletPanel extends JPanel{
61
61
62
62
val check_show_hidden = new JCheckBox (" show hidden files" ) = > [
63
63
selected = false
64
+ addActionListener [evt|
65
+ file_open. fileHidingEnabled = ! selected
66
+ file_save. fileHidingEnabled = ! selected
67
+ ]
64
68
]
65
69
66
70
var boolean table_clicked_inside
@@ -240,7 +244,6 @@ class WalletPanel extends JPanel{
240
244
var String filterExt
241
245
var askPassword = true
242
246
var Class<? extends AbstractImportExportHandler > strategy = null
243
- file_save. fileHidingEnabled = ! check_show_hidden. selected
244
247
245
248
// we repeat the file dialog until we have a valid
246
249
// file name or until the user clicks cancel.
@@ -304,7 +307,6 @@ class WalletPanel extends JPanel{
304
307
}
305
308
306
309
def loadWallet () {
307
- file_open. fileHidingEnabled = ! check_show_hidden. selected
308
310
if (file_open. showOpenDialog(this ) == JFileChooser . APPROVE_OPTION ) {
309
311
new Thread ([|
310
312
try {
You can’t perform that action at this time.
0 commit comments