Permalink
Browse files

Update browser.cpp

  • Loading branch information...
Sedictious committed Aug 10, 2018
1 parent 0f66678 commit f7b1d173615b3ecb3b390b5b33bd7428ce924b3a
Showing with 3 additions and 2 deletions.
  1. +3 −2 gui/browser.cpp
@@ -21,9 +21,9 @@
*/

#include "gui/browser.h"
#include "gui/widgets/edittext.h"
#include "gui/gui-manager.h"
#include "gui/widgets/list.h"
#include "gui/widgets/edittext.h"

#include "common/config-manager.h"
#include "common/system.h"
@@ -94,11 +94,12 @@ void BrowserDialog::open() {

void BrowserDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) {
switch (cmd) {
//Search by text input
//Search for typed-in directory
case _ExitTxtCmd:
_node = Common::FSNode(_currentPath->getEditString());
updateListing();
break;
//Search by text input
case kChooseCmd:
if (_isDirBrowser) {
// If nothing is selected in the list widget, choose the current dir.

0 comments on commit f7b1d17

Please sign in to comment.