Fixed closing folder by Escape when opened dialog in one column mode.
Dialog should be opened by shortcut.
This commit is contained in:
parent
6de30b1137
commit
89a0cd3e81
|
@ -390,7 +390,9 @@ MainWidget::MainWidget(
|
|||
? _history->history()->folder()
|
||||
: nullptr;
|
||||
const auto openedFolder = controller->openedFolder().current();
|
||||
if (!openedFolder || historyFromFolder == openedFolder) {
|
||||
if (!openedFolder
|
||||
|| historyFromFolder == openedFolder
|
||||
|| Adaptive::OneColumn()) {
|
||||
controller->showBackFromStack();
|
||||
_dialogs->setInnerFocus();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue