Merge pull request #3191 from neikeq/filedialog_hotkeys

Add keyboard shortcut to toggle "show hidden files" in FileDialog
This commit is contained in:
Rémi Verschelde
2016-01-07 07:50:26 +01:00
6 changed files with 97 additions and 2 deletions

View File

@ -862,6 +862,13 @@ bool Control::window_has_modal_stack() const {
return data.window->window->modal_stack.size();
}
bool Control::is_window_modal_on_top() const {
if (window_has_modal_stack())
return data.window->window->modal_stack.back()->get()==this;
return false;
}
void Control::_window_cancel_tooltip() {
window->tooltip=NULL;