Fix main window not receiving focus after leaving a file navigation dialog
This commit is contained in:
@@ -15,16 +15,14 @@
|
||||
namespace fs = boost::filesystem; // TODO: Centralize this alias
|
||||
|
||||
bool isFrontWindow(sf::Window& win);
|
||||
void makeFrontWindow(sf::Window& win, bool acceptKeyInput = true);
|
||||
void makeFrontWindow(sf::Window& win);
|
||||
|
||||
void init_fileio();
|
||||
|
||||
struct no_file_chosen {}; // an exception class
|
||||
|
||||
fs::path nav_get_party() throw(no_file_chosen);
|
||||
fs::path nav_put_party() throw(no_file_chosen);
|
||||
fs::path nav_get_scenario() throw(no_file_chosen);
|
||||
fs::path nav_put_scenario() throw(no_file_chosen);
|
||||
fs::path nav_get_party();
|
||||
fs::path nav_put_party();
|
||||
fs::path nav_get_scenario();
|
||||
fs::path nav_put_scenario();
|
||||
|
||||
class ModalSession {
|
||||
void* session;
|
||||
|
||||
Reference in New Issue
Block a user