command palette: get rid of "extra actions" enum
This commit is contained in:
parent
66fbc1f2f1
commit
869e5d7be9
5 changed files with 45 additions and 46 deletions
|
|
@ -18,6 +18,7 @@
|
|||
*/
|
||||
|
||||
#include "gui.h"
|
||||
#include "commandPalette.h"
|
||||
#include "../ta-log.h"
|
||||
#include <fmt/printf.h>
|
||||
#include <imgui.h>
|
||||
|
|
@ -187,6 +188,9 @@ void FurnaceGUI::doAction(int what) {
|
|||
case GUI_ACTION_COMMAND_PALETTE:
|
||||
displayPalette=true;
|
||||
break;
|
||||
case GUI_ACTION_CMDPAL_RECENT:
|
||||
curPaletteType=CMDPAL_TYPE_RECENT;
|
||||
break;
|
||||
case GUI_ACTION_WINDOW_EDIT_CONTROLS:
|
||||
nextWindow=GUI_WINDOW_EDIT_CONTROLS;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue