Browse Source

open home folder by default

PHP-GTK3
yggverse 4 months ago
parent
commit
689667fe94
  1. 8
      src/Entity/Browser/Menu/File/Open.php

8
src/Entity/Browser/Menu/File/Open.php

@ -52,8 +52,12 @@ class Open @@ -52,8 +52,12 @@ class Open
]
);
/* @TODO keep last path
$dialog->set_current_folder();*/
if ($home = getenv('HOME')) // @TODO keep last path
{
$dialog->set_current_folder(
$home
);
}
$dialog->set_select_multiple(
$this->_multiple

Loading…
Cancel
Save