mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
Filemanager: Add Ctrl+A select all action
Unfortunately this means that current_view() needed to be made non-const as changing the selection is a non-const operation.
This commit is contained in:
parent
7cf15bcb75
commit
6192467de9
2 changed files with 5 additions and 1 deletions
|
@ -36,7 +36,7 @@ public:
|
|||
void set_view_mode(ViewMode);
|
||||
ViewMode view_mode() const { return m_view_mode; }
|
||||
|
||||
const GAbstractView& current_view() const
|
||||
GAbstractView& current_view()
|
||||
{
|
||||
switch (m_view_mode) {
|
||||
case ViewMode::List:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue