Skip to content

Commit 87611ce

Browse files
committed
Removed Ctrl/Cmd-X accelerator for closing program, as this clashes with modern standard
expectations. Closes #507.
1 parent bf16de6 commit 87611ce

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
terminal Nash profile correctly. (#172)
88
- Improved sizing of list of logit profiles computed for normal form games.
99

10+
### Changed
11+
- Removed Ctrl/Cmd-X accelerator for closing program, as this clashes with modern standard
12+
expectations. (#507)
13+
1014
### Removed
1115
- Undo and redo have been removed from the graphical interface. (These were meant to be
1216
removed previously as they did not work properly and gave unpredictable behaviour.) (#505)

src/gui/gameframe.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,10 @@ gbtGameFrame::gbtGameFrame(wxWindow *p_parent, gbtGameDocument *p_doc)
250250
entries[2].Set(wxACCEL_CTRL | wxACCEL_SHIFT, (int)'s', wxID_SAVEAS);
251251
entries[3].Set(wxACCEL_CTRL, (int)'p', wxID_PRINT);
252252
entries[4].Set(wxACCEL_CTRL, (int)'w', wxID_CLOSE);
253-
entries[5].Set(wxACCEL_CTRL, (int)'x', wxID_EXIT);
253+
entries[5].Set(wxACCEL_CTRL, (int)'q', wxID_EXIT);
254254
entries[6].Set(wxACCEL_CTRL, (int)'+', GBT_MENU_VIEW_ZOOMIN);
255255
entries[7].Set(wxACCEL_CTRL, (int)'-', GBT_MENU_VIEW_ZOOMOUT);
256-
wxAcceleratorTable accel(10, entries);
256+
wxAcceleratorTable accel(8, entries);
257257
SetAcceleratorTable(accel);
258258

259259
m_splitter = new wxSplitterWindow(this, wxID_ANY);

0 commit comments

Comments
 (0)