Always show trackstop menus when visible

develop
lethosor 2015-02-17 14:13:37 -05:00
parent f2461254d4
commit 661eacf223
1 changed files with 2 additions and 2 deletions

@ -44,7 +44,7 @@ struct trackstop_hook : public df::viewscreen_dwarfmodest {
};
building_trapst *get_selected_trackstop() {
if (!Gui::dwarfmode_hotkey(Core::getTopViewscreen()) || ui->main.mode != ui_sidebar_mode::QueryBuilding) {
if (ui->main.mode != ui_sidebar_mode::QueryBuilding) {
// Not in a building's 'q' menu.
return nullptr;
}
@ -198,7 +198,7 @@ struct roller_hook : public df::viewscreen_dwarfmodest {
};
building_rollersst *get_selected_roller() {
if (!Gui::dwarfmode_hotkey(Core::getTopViewscreen()) || ui->main.mode != ui_sidebar_mode::QueryBuilding) {
if (ui->main.mode != ui_sidebar_mode::QueryBuilding) {
// Not in a building's 'q' menu.
return nullptr;
}