Skip to content
Permalink
Browse files

fix replace mode semicolon shortcut

  • Loading branch information...
jacob1 committed Feb 20, 2019
1 parent 08cd32a commit 16d686e949175bb353590d62b99b11357c3cb6b6
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/gui/game/GameView.cpp
@@ -1633,10 +1633,10 @@ void GameView::OnKeyPress(int key, int scan, bool repeat, bool shift, bool ctrl,
break;
case SDL_SCANCODE_SEMICOLON:
if (ctrl)
{
c->SetReplaceModeFlags(c->GetReplaceModeFlags()^SPECIFIC_DELETE);
break;
}
else
c->SetReplaceModeFlags(c->GetReplaceModeFlags()^REPLACE_MODE);
break;
default:
didKeyShortcut = false;
}

0 comments on commit 16d686e

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.